Each input has 4 characteristics defined in a (PHP) .ini file -
Each input also has 3 characteristics defined in a Smarty .conf file, and there is a .conf file for every language (.ini be under languages)
Smarty constructs the input tags like so:
On the server side, there is a loop that tests the inputs against the same strings:
This allows the client-side code to help the user enter valid data, and allows the server-side code to protect the server by disallowing or discarding data that isn’t valid.
Please note that page-level validation, where the required state and content of data may vary based on other inputs must be reflected at both the client and server side.