regex validation problems
-
Hi
I am using the validation regex field to capture a promo code on my form. At the moment the validation regex field is ^password^. I have also set the redirect settings to redirect to another page after the message sends.I have two issues / questions;
1. If the visitor enters an incorrect promo code, two error messages appear, the regex fail message which i have set as ‘Incorrect discount code, please try again’ and also another automatic message ‘Please make corrections below and try again.’ I am trying to hide the automatic message but I’m struggling. Can you help?
2. If the visitor enters an incorrect promo code they get the error messages. If they don’t enter anything and just click the submit button, the field validates and redirects.
Shouldn’t they get an error message when the field is left blank telling them to try again?thanks for your help with this and great plugin!
https://www.ads-software.com/plugins/si-contact-form/
my url is https://www.dev.niftymarketing.co.uk/chimney.co.uk/book-appointment/
- The topic ‘regex validation problems’ is closed to new replies.