Well, let's see IsDefined("form.C1.X") and form.C1 EQ "update"


First off I'd say just try adding .X


to form.C1 EQ "update"  -->  form.C1.X EQ "update".

Steven Semrau
SRA International
http://www.sra.com

-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 04, 2004 3:24 PM
To: CF-Talk
Subject: Form button

I have an image as a form button as:
<input type="image" src="" name="C1" value="update">

In my CF code pressing this button should execute an update, however the following code generates an error:

<CFIF IsDefined("form.C1.X") and form.C1 EQ "update">

Cold Fusion Server logged the following error information:
An error occurred while evaluating the _expression_:
IsDefined("form.C1.X") and form.C1 EQ "update"
Error near line 1, column 29.
Error resolving parameter FORM.C1
The specified form field cannot be found.

Am I missing something here?

Thanks.

Robert O.
HWW
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to