I have a field on a from that a user creates a return code. the form data is stored in a MySQL database and if that user comes back and users the same return code it will pull the record from the database and full most of the data base in to save the user time. I am not sure how to do this. I am using MySQL and PHP for the database and i don’t know how to use .ajax in JavaScript to make the pull or how to take that data and fill the form.
Share
As David is referring to, using the jquery ajax api might make it easier for you. So your client side code might look something like:
Here’s a helpful link