I have an online survey that I built. The questions are dynamically
drawn from a table. The radio button values are drawn from a different
table. I wanted the name of each radio button group to be the id of the
question. This of course creates a problem when trying to output
#form.1#. Any ideas
You can put a q in front to make it an acceptable variable
name and then strip it off in the processing code.
Bjorno
= = = Original message = = =
I have an online survey that I built. The questions are dynamically
drawn from a table. The radio button values are drawn from a
different
table. I
[EMAIL PROTECTED]
Sent: Tuesday, April 16, 2002 9:49 AM
Subject: Numeric Form Field Names...
I have an online survey that I built. The questions are dynamically
drawn from a table. The radio button values are drawn from a different
table. I wanted the name of each radio button group to be the id
#NumVar# Value=4
/CFOUTPUT
input type=Submit value=Push
/CFFORM
!--- Test2.cfm
CFOUTPUT
#Form.q1#
/CFOUTPUT
---
HTH
DavidB
-Original Message-
From: Houk, Gary [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 12:50 PM
To: CF-Talk
Subject: Numeric Form Field Names...
I have
Robertson--
MSB Designs, Inc.
http://mysecretbase.com
-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 10:01 AM
To: CF-Talk
Subject: Re: Numeric Form Field Names...
just do it so that you have something like #form.field_1# and if you
just
Thanks guys, it looks like it will work :-)
- Gary
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 1:16 PM
To: CF-Talk
Subject: RE: Numeric Form Field Names...
I do something like that, but use a regex that works no matter how many
6 matches
Mail list logo