8 years ago
2
Topic

Hi

I tried to use the REGEX validation plugin on a user form to only accept some domains in the email field.

However once I put the regex validation plugin on the email field I got JS error : Uncaught ReferenceError: JCck is not defined

even if I use the "@" syntax to check if the email contains a @, it fails

thanks

cyril

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
1
Level 1

Regex validation is primarily for text fields, you can't put javascript validations on email field as it is only for sending emails and since there is nothing to validate. You need to use text field for user to input email, then use this field in To(fields) in email field.

8 years ago
0
Level 2

Thanks Klas

Sorry, I shouldn't have written email field since it is the standard USER Email field (user_email) which is a simple text fieldand the problem remains.

Cyril

Get a VIP membership