Validate form email field


(David Wallace) #1

Okay I’ve searched and read and looked but can’t find or figure it out.

Can someone please explain how I can validate that an email address on a form field is correct?
I assume I use a second field, but what validation do I use?

Thanks

Matrix Version 5.4.7.1


#2

Normally you would setup a complex validation rule on the (second) “confirm email address” field against a previous ‘email address’ field.

Add Rule > Value Comparison > Must be equal to > OR Value of Form Field: [Enter ID or select email address question asset]

More general info at the bottom of the Email Address Question Type Squiz Manual page.


(Bart Banda) #3

You could also set the type to email so that you get some free browser client-side validation as well.