How to get Pre-Value ID's rather than String Names
Hello,
I'm trying to find out how to find the Id of a pre-value list selection (in this case a check box list).
Id: 1 Value: United Kingdom
Id: 2 Value: United States
Id: 3 Value: The Netherlands
I have the check box list (added via contour), which returns the users selection as United Kingdom, United States however I need to find the Id's of the selection, rather than the names.
I sort of need the reverse of GetPreValueAsString().
How to get Pre-Value ID's rather than String Names
Hello,
I'm trying to find out how to find the Id of a pre-value list selection (in this case a check box list).
I have the check box list (added via contour), which returns the users selection as United Kingdom, United States however I need to find the Id's of the selection, rather than the names.
I sort of need the reverse of GetPreValueAsString().
I hope this makes sense and can anyone help.
Thanks
Paul
While a little bit crude, I have found a way to do this.
selectedFileCategories is my comma seperated string e.g. United Kingdom, United States
This will return selectCats as 1,2,3
is working on a reply...