How to default a value in a select list
1026247Jun 8 2007 — edited Jun 11 2007Hi
I have an item on the page which is displayed as a select list.
The select list has an lov that returns 3 values as follows:
ACAD1M
ACAD2H
ACAD3T
the sql for this lov is as follows:
select CAL_TYPE d,cal_type r
from igs_ca_type
where s_cal_cat='ACADEMIC'
It needs to return the values in the order as shown above, however if the user does not select anything from the select list, I want it to default to the value in the middle of the list(ACAD2H)
I tried using default on the item but I could not get this to work.
Could someone explain how I can get the select list in HTMLDB to default to the value that I want regardless of which position it appears in the select list it always seems to default to the value at the top of the list.