Skip to main content
March 21, 2007
Question

Update Record SuccessURL

  • March 21, 2007
  • 1 reply
  • 198 views
When using the Update Record Behavior, there is a spot to enter a URL to go to upon successful udate.

Instead of using a Static URL, I want to update the record and then go to the previous page (like javascript:history.go(-1) - but this doesn't work).

Any ideas?

Thanks, Jeff
This topic has been closed for replies.

1 reply

Inspiring
March 22, 2007
Yes you can do it but you can't mix server code and javascript to do it.
What I have done is on the page that I want to go back to I have created a
session variable and placed into it the URL of the page.

Then you can amend to Redirect script to call the session.

--
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver

Valleybiz Internet Design
www.valleybiz.net

"jsmith1061" <webforumsuser@macromedia.com> wrote in message
news:etrouj$mnp$1@forums.macromedia.com...
> When using the Update Record Behavior, there is a spot to enter a URL to
> go to
> upon successful udate.
>
> Instead of using a Static URL, I want to update the record and then go to
> the
> previous page (like javascript:history.go(-1) - but this doesn't work).
>
> Any ideas?
>
> Thanks, Jeff
>