Integrating with Rails
← ejemplos
For Rails, the input field is constructed from model name and field name. For example,
user have email as field, when form helper render view, the input field name will be
'user[email]'
. The syntax for calling the plugin looks like below:
When using FormValidation in a Rails remote form, in order to prevent the form from multiple submissions, trigger the success.form.fv event as following:
Resources
- FormValidation gem for Rails, created by Jiří Kaipr (@jkaipr)