On 12/29/02, Ryan Mitchell penned:
>Hmm this might be confusing, but ill try my best
>
>I've got a set of form text inputs, the names of which are dynamically
>created according to how many of them there are
>
>Eg (abbreviated code)
>
><cfloop list="listname" index="index">
>     <input type=text name=#variablename##index#
></cfloop>
>
>How do I get the action page to know the name of the form field? If I do
>#FORM.#variablename##index##
>It doenst work!
>
>Any help... Please?

This will tell you the name of the fields and the values:

<cfloop index="f" list="#form.fieldnames#">
#f# = #form[f]#<br>
</cfloop>

What do you need to do with them after they're posted?
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to