When you arrive at the action page (the page specified in your form tag) you will then be able to read any data sent by that form using the syntax...
FORM.NAME
where NAME is an input field you have named. The variable will contain the value of that field. Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
Technically the problem doesn't stem from CF, it stems from the browsers. It's the browsers that pass the value from one page to the next, and if they passed the id from one page to the next then no doubt CF would be able to read it. You can't read the id an any other language either (ie Perl, PHP, ASP, JSP, etc).
strantheman has one of the better solutions to get done what you want accomplished. - tleish
On the action page:
<cfset aMyArray = ArrayNew(1)>
<cfloop from="1" to="10" index="counter">
<cfset aMyArray[#counter#] = #form.int-counter#
</cfloop>
This is not gonna work of course. It Errors on #form.int-counter#.
It sounds like that variable in variable question that was asked here a couple of days ago. Is there any solution to this problem?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.