Weird Problem with Request.Form.AllKeys and checkbox

A

admlangford

Hi, I have a WYSIWYG editor which allows people to build their own
forms on the fly (HTML controls only).

I am going through each of the controls in the Request.Form.AllKeys
collection and validating them.

However, checkboxes only appear if they are checked and if they are
not checked then they do not appear in the above collection...

Given that I need to know if a checkbox is checked or not, how am I
supposed to validate it when it does not appear?

Thanks for any suggestions
Adam
 

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,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top