Aug172012

How can I make a WordPress form that can update form results without changing the URL?

Murtuza Millwala asks:

I have a form on my WordPress site which is populating two drop downs with custom db query(select query) using wpdb, from a custom db which I added to the database, now after selecting some values from the drop downs, when I click submit, it should again check the values from drop downs into the db and return the result on the same page, without changing the url.

Is that thing possible?


Browser: Chrome 21
System: Windows
Tagged: , , , ,

Comments for this Question are closed.

If you are looking for help, please ask a new question here.

We will be happy to help you!

2 Answers -

0 votes

Jamie VanRaalte

August 17, 2012

It should be, probably with jQuery. I personally use Contact Form 7.

0 votes

muotechguy

August 22, 2012

Use jQuery to bind to the submit button, then grab the value and send an ajax request to a php db handler. It’s quite advanced programming though, and there arent any ready made solutions. You’ll need to learn some jquery (very simple), and php, and mysql.