Meleo
06-26-2012, 04:15 PM
1) Script Title: Auto Save Form script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/autosaveform.htm
3) Describe problem: LOVE it....except for one flaw.....and it is a biggie. I have a site where users enter multiple customer phone calls with many details. Seems the Backspace (also navigational) is causing some issues if they are not in focus on a field....this seemed to be the perfect solution and works (well kind of...) until a second or third, etc call is added. Then if they hit the Backspace it takes them to the form unavailable page in the browser, but when you click on "try Again" it is resubmitting the previous call to the database....not taking you to the new form....until you start in to add a new call, then the fields populate with what was saved....but you have that "extra" call to delete.
Also noticed before (on the first call entered) it took you back to the screen just before the form where properties are selected....not to the form itself - have id in form as required, but the selector is in a previous file that leads to this one. This was not optimal, but could be "explained" because once the property was selected and the new form showed up within seconds the data was back that had been entered. How would I get it to not resubmit data to the database? Seems it is also caching the "submit" button?:confused:
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex16/autosaveform.htm
3) Describe problem: LOVE it....except for one flaw.....and it is a biggie. I have a site where users enter multiple customer phone calls with many details. Seems the Backspace (also navigational) is causing some issues if they are not in focus on a field....this seemed to be the perfect solution and works (well kind of...) until a second or third, etc call is added. Then if they hit the Backspace it takes them to the form unavailable page in the browser, but when you click on "try Again" it is resubmitting the previous call to the database....not taking you to the new form....until you start in to add a new call, then the fields populate with what was saved....but you have that "extra" call to delete.
Also noticed before (on the first call entered) it took you back to the screen just before the form where properties are selected....not to the form itself - have id in form as required, but the selector is in a previous file that leads to this one. This was not optimal, but could be "explained" because once the property was selected and the new form showed up within seconds the data was back that had been entered. How would I get it to not resubmit data to the database? Seems it is also caching the "submit" button?:confused: