Hello Everyone,
I have a question, I am trying to get three save buttons on the Add page.
Save & New
Save & Print
Save & Close
I can not figure out a way to do this, the Save & New button is just the regular save button, but if the Save & Print button is clicked I want to redirect the user to the edit page, then if the Save & Close button is clicked I just want to save the record and close the window.
is this possible? is there any way to achieve this?
Thanks for your help
this is how the buttons look.
<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$savebutton_attrs}>Save & New</A></SPAN>
<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$savebutton_attrs}>Save Print</A></SPAN>
<SPAN class=runner-btnframe><SPAN class=runner-btnleft></SPAN><SPAN class=runner-btnright></SPAN><A class=runner-button href="#" {$savebutton_attrs}>Save & Close </A></SPAN>
my problem is I don't know how to find out on the events page which button the user clicks.