Posted By

rumremix on 11/02/11


form redirect list save button submit 2007 sharepoint 2010 hijack

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


hijack submit or save button on sharepoint list form to redirect

 / Published in: XSLT

Comment out the SharePoint:SaveButton tag and replace with input tag

  1. <!--<SharePoint:SaveButton runat="server" ControlMode="New" id="savebutton2"/>-->
  2. <input name="Button1" type="button" value="Submit" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/thanks-for-submission.aspx}')}" />

Report this snippet  

You need to login to post a comment.