Konrad - 2007-05-17 15:10:58
I would like to know how I can make the validation on email or URL happen ONLY when the actual value is present in the field.
Thanks.
$form->AddInput(array(
"TYPE"=>"text",
"NAME"=>"fld_email",
"ID"=>"email",
"SIZE"=>34,
"MAXLENGTH"=>100,
"Capitalization"=>"lowercase",
"ValidateAsEmail"=>1,
"ValidationErrorMessage"=>"It was not specified a valid e-mail address.",
"LABEL"=>"<u>E</u>-mail address",
"ACCESSKEY"=>"E"
));