Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Chris Kemp #1
programmatically specifying form variable value
I have this:
<cfloop index="i" from= "1" to= "100" Step="1">
<cfif isdefined("form.item_number_" & "#i#")>
<tr>
<td>
<input type=text name="item_Quantity_" & "#i#" value="">
</td>
</tr>
</cfif>
</cfloop>
and everything works except the value.
I want it to represent the value of a passed-in variable such as
"#form.item_quantity_1#" (on the 1st line) and
"#form.item_quantity_2#" (on the 2nd pass of the loop)
There must be some way to concatenate the loop counter to create the
value, since it works fine with the field name.
Thanks
Chris Kemp Guest
-
Use of text Boxes to programmatically update a PDF form
Hello all; I am a very experienced programmer but I do not have much experience with PDFs , Acrobat, etc. I have come up with what I believe... -
Cannot pass form field variable from Flash form to CFC
hello, could someone please help me with an issue i'm having.... i'm trying to pass data from flash form fields into my coldfusion component... -
Form and URL variable
I am trying to access a template from both the #form.city# and then from #URL.city# on other templates. The details.cfm does a lot of processing... -
localizing web form without setting values programmatically
Hello I have to start an Asp.net project that involves i18n, so I was doing some reading on the subject. I'm not sure (and I *really* hope I'm... -
change web form content type programmatically
I have user controls(.ascx) programmed to function as modules on the same page - default.aspx. As you would be well aware, default.aspx has the... -
Mountain Lover #2
Re: programmatically specifying form variable value
#FORM["item_Quantity_" & i]#
HTH
--
Tim Carley
[url]www.recfusion.com[/url]
[email]info@NOSPAMINGrecfusion.com[/email]
Mountain Lover Guest



Reply With Quote

