Posted By

rumremix on 04/13/10


form redirect Survey sharepoint

Versions (?)

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={} 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.