Posted By

rumremix on 04/13/10


Tagged

form redirect Survey sharepoint


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jlaws0n


redirecting a sharepoint new form


 / Published in: JavaScript
 

When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user.

You could also put any URL in the __redirect={} that you want, for example __redirect={http://www.google.com} or __redirect={/news/PressReleases/}

  1. <input type="button" value="Save" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={}')}" />

Report this snippet  

You need to login to post a comment.