Well... I hadn't actually thought of doing it this way.

I'm going to do my own research here in a minute --but is it complicated to
do a database insert/recall for editing using a multiple select box?  I've
never done this.

I wouldn't like this idea for an open system... But it for a closed
system... People can be trained easily.

--
Jillian 

-----Original Message-----
From: Ewok [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 12, 2005 10:29 AM
To: CF-Talk
Subject: RE: Add additional rows

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







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214802
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

Reply via email to