Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkboxlist and mandatory selection

Status
Not open for further replies.

SonJ

Programmer
Oct 24, 2002
166
0
0
GB
Hi,

I have a check box list on a page and the user is able to select upto 5 values. I want to be able to detect if the user has not selected any values. If the user has not selected an option then I want to be able to trap this error and avoid the "... not set to an instance of an object ..." message.

Does anyone know how I can do this?

SonD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top