Read data from SQL when a field changes value and post the value in another field

  1. Create a JQuery script that detects whether the Formidable Form field is changed or initiated.
  2. Write a PHP script to accept the field value from the form and used the value to retreive data from a table. Calculations can be performed in the PHP script if needed. Encode the result in Json and return the value to the web page’s JQuery script.
  3. The JQuery script will then output the retreived value in the appropirate field in the form.

Leave a Comment

Your email address will not be published. Required fields are marked *

− 4 = 5