This topic is locked

Lookup wizard

6/3/2008 11:52:23 AM
PHPRunner General questions
P
pedro1980 author

Hi all
How do I set up a lookup box with a different value to display to the one to be stored in the database i.e:
<select name='hello' 'id'='fsdfsd'>

<option selected='selected'>Please Select</option>

<option value='0'>Option 0</option>

<option value='1'>Option 1</option>

<option value='2'>Option 2</option>

</select>
Thanks in advance

J
Jane 6/4/2008

Hi,
to set up field as dropdown select Lookup wizard on the "Edit as" settings dialog on the Visual Editor tab.

To open this dialog double click on the field.

P
pedro1980 author 6/6/2008

Thanks
But what i want to do is set up a combobox that displays text but stores an integer
Thanks in advance

J
Jane 6/7/2008

Hi,
use different link and display fields for this dropdown on the "Edit as" settings dialog on the Visual Editor tab.