Custom Validation on Form Fields


#1

I’ve reviewed this page that relates to customer input validation.

Can anyone tell me how to modify the following line:

var valid = ( value === ‘I accept’ );

So that I’m ensuring 2 numbers are entered.

Thanks.