This topic is locked

Dependent dropdown based on ajax textbox

5/20/2015 3:37:51 PM
PHPRunner General questions
S
sawanr author

I have 4 form elements
zipcode [ajax search from_zipcode table]

city [dropdown value comes from _zipcode table based on zipcode value]

state [dropdown value comes from _zipcode table based on zipcode value]

country [dropdown value comes from _zipcode table based on zipcode value]
I am able to do this if i save zipcode in database and come back to edit. but i want to know if i can add a button next to zipcode ajax table that says 'lookup' which would populate values of 3 dropdown below.
oh, and i am trying to do this in inline add page. let me know if that is possible.

Sergey Kornilov admin 5/20/2015

It looks like what you looking for is 'Autofill' functionality.
More info:

http://xlinesoft.com/phprunner/docs/lookup_wizard.htm

Check 'Autofill' section.