-
Notifications
You must be signed in to change notification settings - Fork 30
011a. Adding Server side validation
Now, we want to create a view on the front end.
Newly created files
administrator/components/com_foos/Rule/LetterRule.php
Modified files
administrator/components/com_foos/foos.xml
administrator/components/com_foos/forms/foo.xml
Click here to see all changes compared to the last chapter
Now you can zip all files and install them via Joomla Extension Manager. After that you can see a link to your component in the left side menu. Clicking on this link will open the basic backend view.
It is no longer possible to save an invalid value. In large forms, it is not user-friendly to display all errors at the very end. Therefore, server-side validation is often supplemented with client-side validation, which checks during input. You can read more on this topic in the next chapter.
Now we have . Up to now we have no . We are going to work on this in the next chapter.