Add

<cfparam name="form.itemstatus" default="NR">

to your action page.  This will set form.itemstatus to NR if it is not
passed in by the form.

----- Original Message -----
From: Robert Orlini <[EMAIL PROTECTED]>
Date: Fri, 30 Jul 2004 09:28:14 -0400
Subject: SOT: Checked/unchecked input boxes
To: CF-Talk <[EMAIL PROTECTED]>

How do I send via a <CFIF IsDefined("form.update.x")> in my code
instructing CF to Update a field when a input box is unchecked as well
as checked.

Its working when its checked (<input type="checkbox"
name="itemstatus" value="received" checked>), but how do I send a "NR"
when its unchecked?

Robert O.________________________________
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to