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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem regarding radio buttons and check boxes

Status
Not open for further replies.

redshadow

Programmer
May 24, 2001
70
PH
Hi,
Can anyone explain why do CF can't see form fields for radio buttons and check boxes when the user did not click on it, and help me how to get around this thing pls.?

for example: I have a cfm file entry.cfm that contains the form tag <input type=&quot;radio&quot; name=&quot;test&quot;>, when submit is hit it gives an error message that states the form field is not declared.
 
the reason CF can't see form fields that the user did not click on is because the browser doesn't send those fields

i use CFPARAM to make sure all form fields have a default

the default logic depends on what the radio button or checkbox is supposed to be doing

rudy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top