This topic is locked

Lookup Table + Custom (Static) Options/Values

10/13/2008 8:43:00 PM
PHPRunner General questions
W
w3bmaster author

Hi,
I use a Lookup Table to supply options in a select box for both Add/Edit modes for the target table in my PHPRunner project.

  1. I would like to change the default text of "Please Select..." to "No Parent" and still have an empty value for this option.
  2. I would like to add a static option directly after this that displays "Is Parent" with a value of "0" (zero).
  3. All other dynamic options would be listed after these two static options normally.
    How can I accomplish this using PHPRunner IDE? Any help is appreciated.
    I'm using PHPRunner v4.2.
    TIA, Rick

J
Jane 10/14/2008

Rick,
to change "Please select" text edit generatedinclude/commonfunctions.php file.

To add static value to your dropdown just add new record to the lookup table.