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

  1. Mujahid Ishtiaq
    Posted 3 years 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.


  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 3 years 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

  • Visual Form Builder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic