Question

Need to some sample to intercept the save record action after users click on save or save method was trigered under som circumst

We need take some actions when a user click on save or we trigger save under certain circumstances, for example open a dialog asking to user if he is sure or validate some fields have no required attribute as a checkbox if the conditions or answer of the user are not ok, abort and not save.

Thanks in advance

File attachments

Like

1 comments

You need to merge the save button and change the "click" method. The new method will show the confirmation message and cass this.save() when you need.

Show all comments