This works:
isDefined("form.RECLAIM_" & variables.loopindex)
Thanks.
Scott Thornton, Programmer
Application Development
Information Services and Telecommunications
Hunter Area Health Service
Phone +61 2 49214193
Fax +61 2 49214191
[EMAIL PROTECTED]
>>> [EMAIL PROTECTED] 07/12/04 9:03 AM >>>
How about
isDefined("form["RECLAIM_#variables.loopindex#]")
or
isDefined("form.RECLAIM_" & variables.loopindex)
-----Original Message-----
From: Scott Thornton [mailto:[EMAIL PROTECTED]
Sent: Monday, 12 July 2004 8:58 AM
To: CFAussie Mailing List
Subject: [cfaussie] Checking for existance of dynamic form variable.
Hi,
I am creating a bunch of checkboxes on the the fly with a cfloop.
How do i check for their existance in an action page (within a cfloop)?
ISDEFINED("FORM[RECLAIM_ & loopindex]") returns this error:
Parameter 1 of function IsDefined, which is now "FORM[RECLAIM_ &
loopindex]", must be a syntactically valid variable name.
and
ISDEFINED("FORM["RECLAIM_" & loopindex]") causes "Invalid CFML construct
found"
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
Register now for the 3rd National Conference on Tourism Futures, being
held in Townsville, North Queensland 4-7 August - www.tq.com.au/tfconf
---
You are currently subscribed to cfaussie as:
[EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/