Help - Search - Members - Calendar
Full Version: Form Inputs
HTMLHelp Forums > Web Authoring > General Web Design
VPCreativ
I am trying to create a for that you can select the number of patients information that you are going to input.

The form loads with an area for one patient to enter their information.
There is a spot on the form for people to select how many patients that they are going to enter information for.
It is a drop down menu that is 1-5

I have created a table that contains all of the information that needs to be fillled out for each patient.

If the person selects 3 from that drop down menu then i want that form to repeat itself 3 times.

Any Suggestions or can someone point me to a tutorial so i can learn?



Brian Chandler
The simplest thing is to have the place where you access the form say something like:

Add [nnn] patients: [GO]

...with a text input for the number and a submit button. Then this calls a script that generates the page with the appropriate number of input groups.

But there is not all that much to be said for doing it this way. No-one can actually enter more than one thing simultaneously, and getting each patient added immediately reduces the chance of a loss.

If you want to make it easier to add information that's the same for all patients, you could have a single "Add" form, with a button called "Submit, then add another patient for the same hospital" (or whatever).

VPCreativ
QUOTE(Brian Chandler @ Nov 2 2008, 10:56 PM) *

The simplest thing is to have the place where you access the form say something like:

Add [nnn] patients: [GO]

...with a text input for the number and a submit button. Then this calls a script that generates the page with the appropriate number of input groups.

But there is not all that much to be said for doing it this way. No-one can actually enter more than one thing simultaneously, and getting each patient added immediately reduces the chance of a loss.

If you want to make it easier to add information that's the same for all patients, you could have a single "Add" form, with a button called "Submit, then add another patient for the same hospital" (or whatever).



OK that is actually a good idea. having it ask the number of patients prior to the form opening.

Thank you
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.