How to validate a DropDownList

  • Thread starter Thread starter DSilent
  • Start date Start date
D

DSilent

Is it possible if I validate a DropDownList. Like, if I have one
DropDownList, call it DropList then has Initial Value like "[choose
one]" so thats also DropList.SelectedIndex==0, right? I've tried using
RequiredFieldValidator, but it wont work. Then what should I do with
that problems..? Can Anyone help me?

Thanks B4.
 
Under FP Form Field Validation, just set the Validation to disallow the first choice, this will make
the field required.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage

http://www.Ecom-Data.com
==============================================
 
You're using the RequiredFieldValidator? Is this an ASP.NET page?
 

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

Back
Top