Hi,
i tried the validation form, but i don't understand the difference between a required field and a simple field.
I need that one or more fields are needed for sending the form, while for the other fields is necessary make a verify only if they are compiled, but they aren't no requested for the send.
For example: e-mail address: is required. The form is not sent if this field is empty or if it isn't a valid address. Telephone number: is not required, but if it is compiled, it must be a number.
Is it possible, please? At the moment i use a custom java script in the head code of the form containing page, and after the check of all needed fields, i have an action that calls a custom php script.
Thanks again.
Stefano. |