[thelist] CF: stupid checkbox problem

jeff jeff at members.evolt.org
Wed Feb 7 18:47:31 CST 2001


erika,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Erika Meyer
:
: - The email form:
: <input type="checkbox" name="TheCheckbox" value="yes">
:
: - The parameter:
: <CFPARAM name="TheCheckbox" default="No">
:
: - The action page:
: #FORM.TheCheckbox#
:
: But the form returns an error if any
: of the checkboxes are not checked.  what
: is the problem?
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i'm assuming you're doing the <cfparam> on the preceding page and not the
page that's processing the form data.  if i'm correct in that assumption,
then the problem is that the form field "thecheckbox" isn't defined on the
processing page.  solve it by using <cfparam> on the process page to define
it and its default value.

good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:jeff at members.evolt.org





More information about the thelist mailing list