validating a selected item in a list box.

G

Guest

Hi,

I have a web form with a drop down list box.

The first item is "Please make a selection." and the data value is "-1"

I'd like to set up a validator that checks to make sure that on submit, the
value
is not -1. This will ensure a user has made a proper selection.

I can do this without a validator by want to leverage the power of
validators and client side script execution to reduce the traffic of post
backs.

thanks

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top