Summary
Forms are a key aspect of the web. We need forms to request information from our users and we use that information to show them different data or to save this data in our web application. Joomla! offers a whole range of form fields, such as text
, accessiblemedia
, and subform
, to create forms easily with different interfaces so that we can request this information in the easiest and most accessible way.
To trust our data, we need to be sure the information that’s submitted is in a valid format and it’s accurate. So, we must use validation to check the data that’s been submitted in our forms. This validation should happen on the client side to provide quicker feedback to the user. With Joomla’s client-side validation, we can add this validation by adding specific CSS classes or some JavaScript code. We also need to perform server-side validation to be fully sure the user is not bypassing our client validation. Joomla! helps us with this via the...