Scenario: 1. We come to a page by creating a record in the db. 2. The user can enter data and save it multiple times.
Issue: But if user clicks on reload before step 2, the alert box comes to confirm. On ckick of ok, a new record gets inserted. A. Can we have some workaround that gets the data but does not insert one more record? B. Can the refresh be disabled? I have not seen it disabled in the web-apps I browsed so far.
Alongwith being a good coder, try to be a good professional as well!
Originally posted by Timothy Sam: I was thinking that he might be using model 1 so I decided to give him a solution that fits with it.
he? or she? friday evening here - so please excuse some unrelated posts
MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Joined: Mar 13, 2003
Timothy, I know model 2! Working on some code not written by us
I have one more issue.. Not going to the confirmation page as such..
Left nav link inserts the record. And immediately displays it for editing..
I have successfully used a token at a place where the confirmation page is displayed on 'submit' click. But here there is no intermediate such button. Do we even have a chance to get around this problem in this organization/control flow?
Regards, Leena [ September 14, 2006: Message edited by: Tina Desai ]