i using the setSelect method to create a dropdown field for editing. This works great.
In some cases the user can be select a value but it is not required and if there is no value needed, the field must be empty. Similar to the $defvals option for searching. How can i do this. Thx a lot for any hint.
The additional values are available only when searching, so it can not be used when editing. For now I can recommend you to do this via the SQL. Using the above example you can use the following SQL in setSelect
SELECT DISTINCT ShipCity,ShipCity ASCityName FROM orders