Form Builder with Form Validator

Discuss everything related to FormBuilder. All versions. Any questions related to the FormBuilder developing or using should be posted to this forum.

Moderators: alexandrleonenko, goas

snake_eyes
Junior
Junior
Posts: 16
Joined: Jan 22nd, '15, 22:33

Form Builder with Form Validator

Postby snake_eyes » Jan 22nd, '15, 22:42

Hello,

How to use the form validator with form builder?

I need something like:

Code: Select all

return jsFormValidator.onSubmitCheck(document.forms['feedback'],
            top.second_parameter,
            top.third_parameter,
            top.fourth_parameter,
            top.fifth_parameter,
            top.sixth_parameter,
            top.seventh_parameter);submitForm();"));


to be placed on button click, I want to check the the data on client side before submission and checking server side.

Regards

administrator
Site Admin
Site Admin
Posts: 6085
Joined: Jan 7th, '09, 23:18
Contact:

Re: Form Builder with Form Validator

Postby administrator » Jan 25th, '15, 19:30

1. You have to include JSAFV fiels.
2. You have to create JSAFV object.
3. Add to your submit button:
onclick="return jsFormValidator.onSubmitCheck(document.forms['form_name'])" />

See more info here:
http://www.apphp.com/js-formvalidator/i ... ng-started

snake_eyes
Junior
Junior
Posts: 16
Joined: Jan 22nd, '15, 22:33

Re: Form Builder with Form Validator

Postby snake_eyes » Jan 26th, '15, 09:29

Thank you..

I adjusted the code and it's working well..

Rregards


Return to “ApPHP FormBuilder {developers/users}”