Using a list from UI components and a button from UI components so when user selects value from list and hits button, it should take them to desired selection (in this case I want it to go to different HTML pages depending on selection from list).
Here is my AS can anyone, please help been looking all over the internet and cant find a tutorial for something like what I am trying to do.
AS:
function onSelect(list) {
if(list.getValue() == true {
list.setSelectedIndices([0,1,2,3,4,5,6,7,8]);
list.setEnabled(false);
} else {
list.setSelectedIndices(null);
list.setEnabled(true);
}
}
function onSubmit() {
formData = new Load Vars();
formData.list = “”;
formData.list = list.getValue();
Where do I put in the URL’s for each selection? Or if anyone knows of a tutorial for something like this please send that as well. Thanks.
MT