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