locked
Custom Form won't save when redirect is used RRS feed

  • Question

  • I built a custom form using SharePoint designer 2013.  After a changed the standard save button to the custom save using GenFireServerEvent __commit as shown below:

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

    When using this it doesn't save data to the list when redirected.  What am I doing wrong?


     

    Richard Przybylski

    Monday, August 24, 2015 5:36 PM

Answers

  • Hi Richard,

    I tried to reproduce this issue by creating a new list with a new custom NewForm in SharePoint Designer 2013, when clicking the custom “Save” button, the input values saved to the list and redirect to the destination page:

    I suggest you make another test in another list to see if the issue still persists.

    Thanks 

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Dennis Guo Monday, September 7, 2015 1:20 AM
    • Marked as answer by Dennis Guo Tuesday, September 8, 2015 1:06 AM
    Tuesday, August 25, 2015 8:03 AM