[thelist] Cold Fusion: error message reported for a form's checkbox item - HTML4.01 Trans

Sharon F. Malone sfmalo at 24caratdesign.com
Tue Oct 29 17:29:01 CST 2002

On Tuesday, October 29, 2002 11:06 AM, Jeff wrote:

> i'm guessing you're checking the box and they're not.  if you haven't
> <cfparam>'ed a form.nowords or a nowords variable on the processing > template then they'll get an error because a non-checked checkbox
> doesn't send any value.  it only sends a value if it's checked.

    Yes, that's it, Jeff.

    Now have included <cfparam default="Not Checked" name="NoWords"> <cfparam default="Not Checked" name="NoEngine"> in the processing page, and in the form itself have changed the value to read value="ON", thanks to help from Max (and others on the list). The error message is gone.

Sharon F. Malone
"web design and Internet writing services"
sfmalo at 24caratdesign.com

More information about the thelist mailing list