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

Display another list form as a popop dialog in a button click?

$
0
0

Hi Experts,

Can you guys help me modify this below code? I’m not a programmer so I don’t really know how to do it and I just copied this code from a post. Anyway, by placing this code on a list form button (ex. NewForm.aspx), it will save the inputted data in the list and it will redirect me to other form (ex.DispForm.aspx). However, when it redirects me to that form, it was showing as a whole page not a popup dialog. How can I make it to show up as a dialog window just like in their default view?

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

Thank You,

Arnel


Viewing all articles
Browse latest Browse all 17574


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