Title: RE: HTML & JSP: Creating a table that can add rows in a form

What you want to do on the client side with the multiple rows can easily be done in IE4 or better with DHTML. It would be extremely hard/impossible if you have to maintain compatibility with Netscape. In IE you could use insertRow(), insertCell(), and innerHTML. This is off topic so I won't go into detail, if you need some code you could contact me directly.

When you have dynamically added all your rows the page can be submitted to the JSP page to be processed as with any other form.

Hope this helps,

Eugene

-----Original Message-----
From: John McLaughlin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 January 2000 16:19
To: [EMAIL PROTECTED]
Subject: HTML & JSP: Creating a table that can add rows in a form


Howdy all,

I'm kinda new to development in general, but, I have some years in
QA/java experience.

The HTML form will be a test outline template.  It has a table in it
consisting of 3 columns and 10 rows (initially).

Two of the columns will have text boxes in them, to contain instructions
for a test case in one column and a description of the expected result
in the other.

Currently, I am designing the page with just HTML, but, I don't even
have a single clue as to how I can build in the main feature needed in
the page.  My problem is how do I:

A) implement giving the user the ability to add as many rows as they
want.

B) Adding a way to indicate more than a single row at a time (any number
of rows that they want).

C) THEN submit the entire FORM to a dB.

I'm using Homesite as my HTML IDE.

Can this be feature be accomplished using .JSP?  Can this be done
without .JSP?   Does anyone have a good example I could at least see
(regardless of technology) to help me see through to the result as I
trudge along?

Thanks in advance,

John


Reply via email to