Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

Add save button on content editor - error

$
0
0

I added a save button - that save and redirect to a sublist - on a content web editor, but it is giving me an error and it will not save the  changes or do any thing. my code is inside .txt file and linked:

<input type="button" name="btnSave" runat="server" value="   Save   " 
id="saveButton2" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/Lists/Projects/AllItems.aspx}')}" />

The error I get is:

SCRIPT5007: The value of the property 'GenFireServerEvent' is null or undefined, not a Function object


Any ideas. Thank you

Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>