Page 1 of 1

Buttons

Posted: 29 Oct 2018
by May.AlFarsi
I have added custom buttons on a custom list
1) Approve
2) Reject
and I have added an on click to update a check box

Save & Cancel are the defaults

I need the form to be submitted on the click of the custom Approve button or Reject ??

Re: Buttons

Posted: 30 Oct 2018
by AlexZver
Hi!

You just need to add this code to the OnClick handler:

Code: Select all

fd.save().click();