Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to have item table add a row

Status
Not open for further replies.

dragonz

ISP
Jul 30, 2000
1
US
On my site, part of the form is a table containing Item number, quantity, description, and unitprice.<br><br>Instead of having an incredibly long number of table rows, I would like for the table to dynamically create a new form row when someone types in the last visible row.&nbsp;&nbsp;<br><br>I am using JavaScript to pull the data from this table to create subtotals and totals.&nbsp;&nbsp;This information will then be submitted via email(eventually) to an purchase order admin.<br><br>So not only does it have to add the row, it needs to keep the same element name format as the original rows.&nbsp;&nbsp;Currently I have only 5 rows on the site.&nbsp;&nbsp;If you would like to take a look at what I am doing the URL is <A HREF=" TARGET="_new"> help will be greatly appreciated.<br>
 
usually when I see an order form, it's set up so that as you are browsing, you can click on something and then go to checkout, where the unit price and item # are all remembered. The way you have it set up, it seems that the user has to write down the description theirself... doesn't seem very intuitive. If I were you, I'd think about having the server fill in all the info in the first place. Otherwise, I'd ask the user how many items he/she was buying beforehand and then include that many rows. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top