Hello. The standard behavior of Save button seems strange for me. Now the Save button behavour for Click action is: to save work object, if it does not have any error messages(only one exception here - UI validation "Required" is ignored). If the work object has any messages(from validate or other rules) - the save is not performed.
For me, the correct behaviour for save button should be - clear all messages on work object and save it.
My question is: why Save button behavour does not clear all messages on work object ?
***Updated by Moderator: Lochan. Removed user added #helpme, FAQ and Ask the Expert tags. Apologies for confusion, shouldn't have been an end-user option; added Categories***
If by mistake you typed an alphabet in Principal amount filed which is expecting an integer input, a validation error is thrown on save. Imagine if we clear that error and go ahead to save it in the database, would it not be an issue ? In most of the cases it would be very agressive to not to allow the users to modify their errors.
To add on to this if you try to submit a value to the clipboard which is not compatible with the property type then it will result in dictionary validation. These validations cannot be cleared by page-clear-messages method instead it can be fixed only by posting the right values again back to server.
To save the round trip, perform client side validation before doing work object save,