I'm loading a revlet into a dynamic lesson page in a course management system. The revlet is collecting params from the page and I would like to use them to test for a create a new URL to go to when the revlet submission is complete. I've tried a number of different iterations of this and none of them seem to execute in the browser. Am I missing something or is there another way to do this?
Code: Select all
put (tCurrentPageURL & "&pageid=" & tParams["pageid"]) into tNewPageURL
put (quote & "window.location.href='" & tNewPageURL & "'" & quote) into tGoToNewPage
do tGoToNewPage in browser
Code: Select all
put (tCurrentPageURL & "&pageid=" & tParams["pageid"]) into tNewPageURL
put (quote & "window.location.href='" & tNewPageURL & "'" & quote) into tGoToNewPage
put tGoToNewPage into field "Statements"
do field "Statements" in browser

I would appreciate any advice!!
carly