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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    re-direct form after submit

    How can I get my form page to re-direct to a thank you page after hitting submitting?

    I can load a seperate browser with the thank you page loading in but not the same browser as the form to re-direct and load the thank you page. I hope this makes sense.

    Any help would be much appreciated.

  • #2
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    more info

    this is how I am referencing the thank you page

    <INPUT type="hidden" name="redirect" value="http://www.mysite/thanks.html">

  • #3
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    anyone?

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,047
    Thanks
    0
    Thanked 251 Times in 247 Posts
    I assume you're using a server-side language, not just static html in the form action of the page.

    <form action="page.xxx" method="post">

    if you're using asp, you just call response.redirect function.

    <%
    'codes to process input data

    'then at the end
    Response.redirect(request.form("redirect"))
    %>

    If you're using other server-side language, I think you should know its counterpart.


  •  

    Posting Permissions

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