On-click revert to previous page

GoLive Actions and Extensions - support, comments and suggestions.

On-click revert to previous page

Postby rickwells » 11/23/2007 @ 03:31

I want to replace contents of a page with a form page. That's not a problem. But when the user clicks the submit or cancel button and the page closes, I want the contents of the page to revert to the previous page. Is there an action in CS2 or does it require some hand coding/javascript?
rickwells
 
Posts: 3
Joined: 11/06/2006 @ 20:07

Postby Nate Baldwin » 11/23/2007 @ 11:54

I don't know of an Action that would do that for you. You'd need to script something to capture the referrer address from the form page (and probably store that in a hidden field or session), then in whatever you're using as a processing script, you'd need to script in a redirect back to the page that was passed as the referrer.
Nate Baldwin
Site Admin
 
Posts: 3724
Joined: 04/25/2003 @ 19:05

Postby rickwells » 11/23/2007 @ 17:32

thanks Nate. I'll get that sorted.
rickwells
 
Posts: 3
Joined: 11/06/2006 @ 20:07


Return to GoLive Actions and Tutorials



Who is online

Users browsing this forum: No registered users and 3 guests

cron