Ill try to be brief here. I am creating a large form, for registration. Not joomla registration. Just a registration form.
In terms of server side validation am i correct when assuming?
When a user clicks submit, is information passed through jrequest? and therefore some validation takes place to strip html,etc and prevent injection.
If not lets say i take a field, so "first name" and i want to pass it through server side validation and strip it of html,and everything except 'alpha' how would i go about doing this? could an example be shown of say where the errors gather in an array for easiest lets say i have 2 fields "firstname"-"surname" and then parses an error after completing validation on the entire form.
I am using multiform, 'form1' will display information about the form and how to fill it out, once the user clicks continue 'form2' (main form will load)... on form1 is ther a way i can embed a browser test and check wether java script is enabled and return an error if not. As i want to be able to use livevalidation on the final form.
Thanks for your time beforehand.
Brad
In terms of server side validation am i correct when assuming?
When a user clicks submit, is information passed through jrequest? and therefore some validation takes place to strip html,etc and prevent injection.
If not lets say i take a field, so "first name" and i want to pass it through server side validation and strip it of html,and everything except 'alpha' how would i go about doing this? could an example be shown of say where the errors gather in an array for easiest lets say i have 2 fields "firstname"-"surname" and then parses an error after completing validation on the entire form.
I am using multiform, 'form1' will display information about the form and how to fill it out, once the user clicks continue 'form2' (main form will load)... on form1 is ther a way i can embed a browser test and check wether java script is enabled and return an error if not. As i want to be able to use livevalidation on the final form.
Thanks for your time beforehand.
Brad