on 04-27-2008 7:24 PM
Hi
I need to pre select (or auto select) an item of a drop-down list, based on a value stored on a store data element. I am using the Default Value but unsuccessfully.
Below is the complete explanation:
I have a drop down list which contains Countries, got from a dynamic entry list from backend.
I have a data store element, with a text field named "Country", which can have only two text values: 'NAC' and 'EXT'.
So, in the Default Value of the drop down list, I wrote IF(STORE@Country=='NAC', 'AR', 'US')
So, if Country=='NAC' the drop down list should show the text corresponding to 'AR', but nothing happens...
However, if I write 'AR' directly on the Defaul Value, it DOES show the corresponding text.
Any ideas?
Thanks in advance
Marcelo
Hi,
your expalnation to ahive the default value in dropdwon list is correct.
But what is the value present in the Country field in the datastore.
Are you giving any defualt value over there?.
if you are not giving the result is zero in the dropdown.
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.