Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Pass ID value From NewForm through redirect URL

$
0
0

I have a custom newform that I am trying to pass its Just created ID using the save button actions.

I have tried:

<input type="button" value="Save" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent('__commit;__redirect={/Lists/cl/editform.aspx?ID=@ID}}')}" />

But I am not getting the ID value, I only get ID on the url. I have seen posts that can pass id from dispForm, but I need to get the currently created ID. Any ideas? Thank you


Viewing all articles
Browse latest Browse all 17574

Trending Articles



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