tried to find a solution online but had no luck so asking the good men (and women) of the Stack to help a brother out :)
Ok, so using SP 2010 and have a link to a Survey on my main intranet site. This link is using javascript to open the newform.aspx?IsDlg=1 in a new window (modal view) and allows the user to select their option within the modal view. The user clicks their survey option and finishes, the modal window is then closed as expected. What I would like to do is actually redirect the user to the Graphical View Summary within the modal view once they have submitted their option to show them the results. Is there any way this can be done? Having a bit of a brain fade today and cant get it going. :(
Below is the javascript command I have used to bring up the newform.aspx in modal view
javascript:var options=SP.UI.$create_DialogOptions();options.url="http://inserturlhere/newForm.aspx?IsDlg=1';options.height=400;void(SP.UI.ModalDialog.showModalDialog(options))
Many thanks
Sanchez