A
asher
Guest
Hi,
When using a select_single as a field type and a foregin key I am able to get a select pull down menu with the options. This is not the problem. But I want the previosly selected value to be the default choice. For example, if I have choices "a", "b" and "c", and this record already has value "b", then the edit filed should look like this:
<option value="1 - a">
<option value="1 - b" SELECTED>
<option value="1 - c">
Is this possible? How can I do this?
Here is the information I have in "Foreign key field", just in case that helps:
SQL: select sq_id, description from translator
Thanks!
When using a select_single as a field type and a foregin key I am able to get a select pull down menu with the options. This is not the problem. But I want the previosly selected value to be the default choice. For example, if I have choices "a", "b" and "c", and this record already has value "b", then the edit filed should look like this:
<option value="1 - a">
<option value="1 - b" SELECTED>
<option value="1 - c">
Is this possible? How can I do this?
Here is the information I have in "Foreign key field", just in case that helps:
SQL: select sq_id, description from translator
Thanks!