Custom validation on forms block

Permalink 1 user found helpful
A client has just asked me if they can enforce validation on their form so that the user must enter EITHER a phone number or email address.

Can anyone suggest a clean way to accomplish this that doesn't involve hacking the core files?

Thanks,

Harvey.

Sadu
 
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
A bit of javascript that enforces the email or telephone in the front end.
Sadu replied on at Permalink Reply
Sadu
Of course - that will definitely do the trick. Cheers.