Follow

How to add front end validation to your forms.

LeadShot uses the jQuery.validationEngine for front end form validation.  

To add validation  simply add the appropriate class attribute to your form field.

First Name Field Example:

<input type="text" maxlength="30" size="20" value="{$fname}" id="fname" name="fname" class="validate[required] text-input" />

req.png

Email Field Example:

<input type="text" maxlength="50" size="20" value="{$email}" id="email" name="email" class="validate[custom[email]]" />

Please see the Github home of jQuery.validationEngine for compete details:  https://github.com/posabsolute/jQuery-Validation-Engine

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk