You are viewing limited content. For full access, please sign in.

Question

Question

Confirmation dialog on reject

asked on November 13, 2015 Show version history

Is there a way to display a Yes/No confirmation box when a user hits the Reject button.

Yes = Reject

No = No action, back to form

 

I was able to display a modal popup on clicking the reject button, but don't know how to break the 'Reject' action when the user clicks 'No'. 

 

Thanks for reading!

0 0

Answer

SELECTED ANSWER
replied on November 13, 2015

I would hide the actual submit button with CSS or Javascript, then add your own Reject button. Handle the click for this fake Reject button to display the popup. When Yes is clicked, trigger a click on the real, hidden Reject button. If No, just hide the popup and show the form again.

1 0
replied on November 13, 2015 Show version history

I think that is the most viable option, to work around the constraints. Thanks, Scott.

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.