This topic is locked

Change values based on combobox

4/28/2012 6:29:26 PM
PHPRunner General questions
E
eng.mjarkas author

hi all,

I'm newer to PHPRunner

I'm working on project and have a payments table which has "person_kind" filed takes one of these values "{person,supplier,store}" also the table has "person_name" filed.

what I want to do is if check "suppliers" or "stores" I want to display the values from another table in "person_name" filed so the client can choose the name from drop-down list and save this id in hidden input else he will write the name on text field
any help please???
thank you

C
cgphp 4/29/2012

You can set the "person_kind" fields as a lookup wizard.

Check this video: http://xlinesoft.com/tutorials/dependentdropdowns.htm