QuickForm: error when processing unselected radio buttons - "Notice: Undefined index: radio1 in C:\.."
| From: | l Burnerheimerton | Date: | Sat, 06 Aug 2005 13:14:12 +0000 |
| Subject: | QuickForm: error when processing unselected radio buttons - "Notice: Undefined index: radio1 in C:\.." | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20298@lists.php.net to get a copy of this message | ||
I have a form with LOTS of radio buttons (Yes/No).
They do not have a default value on purpose.
I use DB::autoPrepare and autoExecute to process the
form. I have tried other ways with the sane result,
however.
If the user does not select YES or NO to a radio
button, it processes the data and INSERTS or UPDATES
but throws the following error:
"Notice: Undefined index: pre1 in ..."
It only happens for the radio buttons that are not
completed. Text and textarea fields that are not
completed do not throw that error.
How can I fix this?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com