Expand my Community achievements bar.

Help with email validation

Avatar

Level 1

Hi all

1. created a form for my company that requires an email address;  however people fail to enter the full email address.  I want to make the email field to not allow them to go on unless it reflects example@progressive.com. When I try to use the validation deal I keep getting the error "sampleremail validate failed".  I want to make it so they MUST enter a company email address; and no other email other than company or submit isn't possible.

2. I have a claim number field that the users can copy the claim number and paste it in the form. This inserts a dash.  (i.e. 14-9999999).  I want to make the dash mandatory but when they paste it in the first two blocks will be the "14" and then the dash will be static, then the remaining seven blocks will be filled with the balance of the claim number.

xx - xxxxxxx

I want it to disregard the dash but still lets them paste the claim number with the dash.

Thanks in advance

1 Reply

Avatar

Level 10

Hi,

there are already answers in the forums how to validate email adresses.

email validate