Hi there so pretty much have the same issue as this guy
handling a SubmitForm failure
And I had already come to my own conclusion that I should use onSuccess, until it dawned on me that the form has an approve and reject button.
How would I get around failed form submissions with two buttons?
Could I do something like add an if statement in the OnSuccess to detect the buttons selected state? does that state even exist in the scope of OnSuccess?
I can't believe I'm the only one that has come across this requirement before but can't seem to find much on the matter