renegade420
04-12-2010, 09:17 AM
The code below allows users to add there name,title,and org in each row and gives the users the option to add more rows. My question, when submitted how can I get the database to add a comma at the end of each row instead of after each field?
<head>
<script>function generateRow() { var d=document.getElementById("addmore");d.i… align='right'><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200></div><br>"; }
</script>
<head>
<body>
<label for="Attend"><span class="req">*</span> Names and Titles of Those that will be Attending:</label>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<div id="addmore">
<input type="button" name="Attend" value="Add" id="Attend" size=35 maxlength=200 onclick="generateRow()"/>
</div>
</body>
<head>
<script>function generateRow() { var d=document.getElementById("addmore");d.i… align='right'><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200><input name='Attend' type=TEXT id='Attend' size=15 maxlength=200></div><br>"; }
</script>
<head>
<body>
<label for="Attend"><span class="req">*</span> Names and Titles of Those that will be Attending:</label>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<input name="Attend" type=TEXT id="Attend" size=15 maxlength=200>
<div id="addmore">
<input type="button" name="Attend" value="Add" id="Attend" size=35 maxlength=200 onclick="generateRow()"/>
</div>
</body>