WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] Condition to check before submitting form (2 posts)

  1. Mujahid Ishtiaq
    Member
    Posted 1 year ago #

    I've setup a form with Visual Form Builder. The form allows the visitor to register for a class. I want to add a functionality so that form checks the condition before submitting the form if all seats of the class are filled and displays the error that there is no more seat available. I know PHP and WordPress development but couldn't figure out how to do it. Any help will be appreciated.

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    You can use AJAX and hook it to the field you want. Then setup a custom validation for that form that checks the results. Check the jQuery Form Validation API on the remote() method.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic