Third button to save and return in edit mode
Posted: 15 Feb 2017
Hi,
i use this javascript to close the form.
fd.cancel().click(function(){ STSNavigate('/itdepartment/pcr/SitePages/My%20Process%20Change%20Requests.aspx');return false; });
fd.onsubmit(function (){
$("#aspnetForm").attr('action',location.pathname+'?Source=/itdepartment/pcr/SitePages/My%20Process%20Change%20Requests.aspx');
return true;
});
But i need a third button for savings the results and open the form in edit mode again. If i add the button and use the OnClick function
fd.sourceFormParam(decodeURIComponent(window.location.href));
return true;
the form is closed. Please help.
Best wishes
Tom
i use this javascript to close the form.
fd.cancel().click(function(){ STSNavigate('/itdepartment/pcr/SitePages/My%20Process%20Change%20Requests.aspx');return false; });
fd.onsubmit(function (){
$("#aspnetForm").attr('action',location.pathname+'?Source=/itdepartment/pcr/SitePages/My%20Process%20Change%20Requests.aspx');
return true;
});
But i need a third button for savings the results and open the form in edit mode again. If i add the button and use the OnClick function
fd.sourceFormParam(decodeURIComponent(window.location.href));
return true;
the form is closed. Please help.
Best wishes
Tom