computergeek
Programmer
Hello,
I am using the Formmanager DTC. I have created a server-side script which does the update with the btnsave_onclick event, within this script I check for any Database errors. If an error is encountered (ie foreign key problem), then I DO NOT WANT to switch to the NEXT MODE ... how do I stop this from automatically happening? I want to display a message to the user - ie. This "username" already exists...(I display the error using a hidden textarea field already on the page to display errors.) keeping them in the same mode (update), and allow them to change the data, then press the btnsave button again, or cancel.
Current Mode -- Object -- Event -- Next Mode
Update btnsave onclick Default
Computergeek
I am using the Formmanager DTC. I have created a server-side script which does the update with the btnsave_onclick event, within this script I check for any Database errors. If an error is encountered (ie foreign key problem), then I DO NOT WANT to switch to the NEXT MODE ... how do I stop this from automatically happening? I want to display a message to the user - ie. This "username" already exists...(I display the error using a hidden textarea field already on the page to display errors.) keeping them in the same mode (update), and allow them to change the data, then press the btnsave button again, or cancel.
Current Mode -- Object -- Event -- Next Mode
Update btnsave onclick Default
Computergeek