[eluser]JanDoToDo[/eluser]
Hey guys,
Just wondering if someone could help me out. When I show the validation errors, if there are multiple fields with errors i want it to show the following, type dependant. Example: I have 3 fields that are required and 2 fields that must be valid email addresses.
echo validation_errors() would show:
The name, title and company are all required and the primary email address and secondary email address fields must contain valid email addresses.
Anyone got any ideas on this? I know it could be quite complicated as i want to concatenate multiple values dependant on what errors there are and how many etc !!!