Page 1 of 1

Validating Drop Down box

Posted: Fri Oct 26, 2012 3:50 pm
by hergel
Hi,

How do you validate the values presented in a web list ?

to clarify: I have a dropdown list and a .csv file, I wish to validate the fields in the .csv against the drop down list.

Marius

Re: Validating Drop Down box

Posted: Fri Oct 26, 2012 4:11 pm
by Ciege
First you need to get the Element of you SelectTag.

Next you can foreach through all the OptionTags in your SelectTag element and check for existence of the items in your CSV.