You can use cfparam to create the form variable if it doesn't already exist.
So to set FORM.itemstatus to "NR" by default, you could use:

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

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 9:28 AM
To: CF-Talk
Subject: SOT: Checked/unchecked input boxes

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