This sounds like a call for two step process where the first step is data entry 
and validation while the second step is a posting or finalization step.  It 
sounds like a call for a table to temporarily hold the records for the duration 
of the session, but to transfer the records to a permanent file during the 
posting / finalization step.
 
I'd suggest using an inline frame to display the record list, which could be 
the target of the data entry line.  If the data is valid, display the new row 
added to the list and use a bit of JavaScript to initialize the data entry 
line, otherwise use a bit of JavaScript to display an error message, highlight 
field errors, etc.
 
Nathan Andelin
 
 


----- Original Message ----
From: "Wilt, Charles" <CWilt@xxxxxxxxxxxx>
To: web400@xxxxxxxxxxxx
Sent: Wednesday, April 5, 2006 9:02:39 AM
Subject: [WEB400] How do I create a web page that....


I'd like to create a web page that allows a user to key in an item
number and a quantity.  When they hit submit, I'd like to clear the
input boxes to allow the next item to entered and output the just
entered item underneath the input boxes.

In other words, the bottom of the web page will be a history of the
items entered on the web page during the current session.

The question is what's the easiest/best way to save and output the
history?

I can use CGIDEV2, Net.Data or Websphere but I'm new to all of it and
not sure which environment to choose or how to accomplish outputting the
history.

I could of course save the history someplace in the database, but then
I'd have to deal with figuring out when/how to delete the records and
determining current session vs. new session.

Thanks for the ideas,

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.