Disable the undo and redo buttons, + the undo and redo keyboard shortcuts

G

G. Tarazi

Hi



I am submitting a form to a web service, this form is saved to a database, and then new internal keys are sent in the background to update the document internally.



Until here everything is fine, but j just realized that the end user is able to press the undo button, or use the keyboard shortcuts to undo his changes.



This is causing us duplicated data in the database (in some cases)



How can I disable the undo/redo entirely from InfoPath?



Thank you
 
M

Matthew Blain \(Serriform\)

Don't think you can do this globally. But you may be able to do it by detecting that Undo has occured in a validation event and cancel it/set the value back.
"G. Tarazi" <Tarazi (at) LiveTechnologies.ca> wrote in message
Hi



I am submitting a form to a web service, this form is saved to a database, and then new internal keys are sent in the background to update the document internally.



Until here everything is fine, but j just realized that the end user is able to press the undo button, or use the keyboard shortcuts to undo his changes.



This is causing us duplicated data in the database (in some cases)



How can I disable the undo/redo entirely from InfoPath?



Thank you
 
Top