AnsweredAssumed Answered

Save and redirect on 2 buttons

Question asked by nokwanda on Jun 7, 2017
Latest reply on Jun 7, 2017 by sojanm

I would like to do a save and redirect on 2 buttons on a form. Button 1 is the 'save' button, when a user clicks this it needs to save what the user has edited and then redirect them to another page. Button 2 is the 'save and submit' button, when a user clicks this it needs to save and submit the form and then redirect the user to another page (different redirect page from the save redirect page). I've tried using JavaScript but JavaScript doesn't save the changes it only redirects them. I've tried inserting the redirect urls on each button's client click but this also either redirects and doesn't save the changes or saves and doesn't redirect. I need the buttons to save and redirect.

Outcomes