Actually... if you already have the authors in a database (which I'm just assuming you do since you want a drop down for each), just dump them all into a multi select to begin with. The user can select/deselect multiple items in the list by dragging the mouse down the list or holding control when clicking them
<select name="authors" multiple> <option value="1">Author 1</option> <option value="2">Author 2</option> <option value="3">Author 3</option> <option value="4">Author 4</option> <option value="5">Author 5</option> <option value="6">Author 6</option> <option value="7">Author 7</option> <option value="8">Author 8</option> </select> -----Original Message----- From: Jillian Koskie [mailto:[EMAIL PROTECTED] Sent: Friday, August 12, 2005 10:19 AM To: CF-Talk Subject: Add additional rows Good morning, I have a bit of an unusual problem, that I am hoping has a very easy solution. I have a form that adds content to a database --but I need to be able to allow my user to dynamically add rows (for additional authors) to the form... because he never knows how many authors there will be. So I need a way to add the lines without reloading the page/losing the form data (or do I have to just populate the form with 'form variables'?). I also need a way to loop through the results and insert them into the database. Has somebody done this that they can either show me / help me through the logic on this one? -- Jillian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214789 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

