I have a form where the from variable is incremented dynamically if there is more than one occurrence of the same field.
The input name looks like this: name=qty#i#.
The #i# is a number that increments according to how many fields are needed. In this instance, if I have more than one item,
Robert Orlini wrote:
I have a form where the from variable is incremented dynamically if
there is more than one occurrence of the same field.
The input name looks like this: name=qty#i#.
The #i# is a number that increments according to how many fields are
needed. In this instance, if I
#trim(form[qty i])#
Don't use evaluate if you don't have to.
-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 15:05
To: CF-Talk
Subject: outputting variable
I tried: #trim(form.qty#i#)# but it does not work. Somewhere I read
the
[Todays
Hi Robert,
Try form[qty i] or form[qty#i#].
-joe
- Original Message -
From: Robert Orlini [EMAIL PROTECTED]
Date: Tue, 13 Jul 2004 09:05:18 -0400
Subject: outputting variable
To: CF-Talk [EMAIL PROTECTED]
I have a form where the from variable is incremented dynamically
If you're on cf5 or less then you probably (because I can't remember
if
form scope is in a struct in CF5) need to use the following evaluate
in
the value field of the input rather than the structure reference :
#evaluate(form.thisFieldName)#
[Pascal Peters]
Form vars (and some other
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 9:27 AM
To: CF-Talk
Subject: RE: outputting variable
#trim(form[qty i])#
Don't use evaluate if you don't have to.
-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 15:05
To: CF-Talk
Subject
That's because I doesn't exist. Show us the code of the action page
Pascal
-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 15:35
To: CF-Talk
Subject: RE: outputting variable
Thanks All, but...
On each example I get: Error resolving parameter
Subject: RE: outputting variable
That's because I doesn't exist. Show us the code of the action page
Pascal
-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: 13 July 2004 15:35
To: CF-Talk
Subject: RE: outputting variable
Thanks All, but...
On each example I
8 matches
Mail list logo