This topic is locked

Combo Boxes

5/27/2008 4:55:11 AM
PHPRunner General questions
P
pedro1980 author

Hi all,
Firstly this software is brilliant. Within a couple of hours I have an internal site up and running with no issues.
I am now getting to more advanced areas of my project and am stumbling a little.
My main query is as follows:
I have a master table with a child table.
What I need to do is to populate a combo box field with values depending on what the user has entered for a field in the master table
i.e. combobox to be populated like
Select items from itemlist

Where items.parentid = mastertable.value
How would i do this with the software
Thanks in advance
Peter

J
Jane 5/27/2008

Peter,
add where clause for this dropdown on the "Edit as" settings dialog on the Visual Editor tab.

Here is a sample:

"parentid=".$_SESSION[$strTableName."_masterkey1"]