File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes problem regrding data entry form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "problem regrding data entry form" Watch "problem regrding data entry form" New topic

problem regrding data entry form

toukhir mujawar
Ranch Hand

Joined: Oct 11, 2006
Posts: 70
i have a form displaying a data from some table... in this form there is a "ADD" button..i want to design a form for adding the data into the problem is the no of records to be entered is not fixed...i m not getting any idea.. please help me...

[ October 20, 2006: Message edited by: Bear Bibeault ]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32811

A common pattern for this is to show 5 or 10 rows worth of entry fields along with a button to add more fields to the form. Then when the user is done and ready to submit, they can submit them all in one shot.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
reddy yeruva

Joined: Oct 18, 2006
Posts: 18
i can suggest one approach using javascript provide add another data option then in the servlet collect the all the information, then insert it into the data base

Y.Tirupati Reddy<br />
I agree. Here's the link:
subject: problem regrding data entry form
It's not a secret anymore!