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
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to create a form which redirects the submitter to the submitted URL?

    Hello,

    Thanks in advance for your help. I am having trouble creating code that allows my users to submit their URL. When they press submit, they are directed to the exact URL which was entered. Does anyone have any advice on how I can create this?

    Thanks,

    Robert

  • #2
    New Coder
    Join Date
    Feb 2012
    Location
    Finland
    Posts
    59
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Its easily done if you send data to your email or something like that with PHP file, which means your form action="something.php", also doable with JavaScript.

    If you use PHP file then you can just google php redirecting code, and if you want to do it with JavaScript you can search something like; onSubmit redirecting.

    http://www.ehow.com/how_2056355_use-...avascript.html

    Sorry I'm like this but I prefer providing people with links and little knowledge about stuff so they can read and learn by theirselfs, rather writing the whole code form them. This way learning is more affective.

    Will help you more if you can't get the hang of it!

    -Riku


  •  

    Tags for this Thread

    Posting Permissions

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