Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
Email validation 20.07.2012 09:34
Here is the solution to add an email validation to one of your form fields, which you have typed 'text'.
Go to javascript events, and write this:
getCBFormValue('x').addClass('validate-email');
Where 'x' is the field ID (from fields and code tab).
Moonsoft Team
www.moonsoft.es
Go to javascript events, and write this:
getCBFormValue('x').addClass('validate-email');
Where 'x' is the field ID (from fields and code tab).
Moonsoft Team
www.moonsoft.es
Re: Email validation 23.07.2012 09:54
Hello,
getCBFormValue('email').addClass('validate-email'); is not valid...
Just change 'email' text by the id of this field. You can check the id of the field in 'fields and code' section, on the left side of the field.
For example, if 'email' field has 5 as id, you should write:
getCBFormValue('5').addClass('validate-email');
Regards,
Moonsoft Team
www.moonsoft.es
getCBFormValue('email').addClass('validate-email'); is not valid...
Just change 'email' text by the id of this field. You can check the id of the field in 'fields and code' section, on the left side of the field.
For example, if 'email' field has 5 as id, you should write:
getCBFormValue('5').addClass('validate-email');
Regards,
Moonsoft Team
www.moonsoft.es