If JavaScript is an option (it would depend completely on it though), you could look into the createElement() method it would allow you to add as many fields as you want on the fly, client side. You'd just use a hidden field or something to hold the count for you so you know how many fields to look for during processing.
I've also done this the quick way, which was create the maximum number of fields I wanted to allow, then hide them with JS/CSS. When the user clicked [Add New Field] it just "unhid" the next field. With JS off, all the fields were displayed since hiding them depended on JS. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Pete [mailto:[EMAIL PROTECTED] Sent: Saturday, May 26, 2007 8:57 AM To: CF-Talk Subject: Coldfusion - Dynamic Forms Hi all I'm working on an application. I have been developing a form for users to enter/edit information. On the form I currently have provision for a user to enter up to 6 phone numbers as the contact numbers for an organization. I'm wondering if there is a better way to do this as not all organizations have 6 contact nos. I'm wondering if I could have say a drop down menu which allows a user to select the number of contact numbers that they wish to enter. i.e. if a user were to select 3 contact nos, then 3 input boxes would be displayed. If a user selected 4 then 4 input boxes would be displayed etc etc etc Thanks in advance for feed back P ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279334 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

