Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Back button redirect

    Simple question: I have a form that, when an invalid email is entered, displays a "Try again" link which directs them back to an EMPTY form. I'd like to have the link simply act as a BACK button so their form is still filled in and they just have to change the email address. What's the code for this? Thanks!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, I always use this:

    Code:
    <a href="javascript:history.go(-1);">Back</a>
    (without the space between java and script)
    and it works for me. But if you want to confuse yourself, go here:

    tracking links


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •