Hello Elias, > Scenario: user opens the xforms and enters some data. after that it > submits that data and the xquery detects an error condition before > writing to the database and gives the user a back button (or the user > clicks on the back button of the browser). > > - When that happens all the entered data is lost and the original > data is displayed. I think this happens because xforms > recalculate/revalidates everything. > > Is there a way to disable that so the user does not loose the entered > data? > > If you need to validate some data at server-side, you should better use the AJAX approach: the form is not fully replaced since the validation is not OK.
After that, the form can ask for the next one, maybe with the same values or from the returned status from the previous AJAX call. The browser navigation is not safe when mixed with AJAX... -Alain ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Xsltforms-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xsltforms-support
