Access actual Form Field (not value) in script
Posted: Wed Sep 18, 2002 2:28 pm
Hello,
I want to have an error function that takes the acutal form field as a parameter
this form field parameter replaces a string depending on the form field
thus if i wanted tp validate an email
the errorfunction($Field,$error)
the $field needs to be the Email Form field name and not the value
but how do i access this
so as to say $error = "Please Enter your".$Field;
?
I want to have an error function that takes the acutal form field as a parameter
this form field parameter replaces a string depending on the form field
thus if i wanted tp validate an email
the errorfunction($Field,$error)
the $field needs to be the Email Form field name and not the value
but how do i access this
so as to say $error = "Please Enter your".$Field;
?