HTML Form question

Out of context: Reply #3

  • Started
  • Last post
  • 12 Responses
  • hubb7designs0

    Part 2 of my question:

    So now I'm trying to have this form in a lightbox collect my user's name and email address.

    After the user enters in this information, I would like the form to redirect the user to a different website of one of my vendors.

    Here is the form code:
    <form action="/gdform.php" method="post" target="_blank" onsubmit="return validate_form(this);">
    <input type="hidden" name="subject" value="Linked to Telecom Recovery" />
    <input type="hidden" name="redirect" value="http://www.telecomrecovery.com/" />
    <p><small>Name:</small> <input type="text" name="name" id="name" /></p>
    <p><small>Email Address:</small> <input type="text" name="email" id="email" /></p>
    <input type="submit" name="submit" id="submit" value="Link to Telecom Recovery" />
    </form>

    But instead of the user going to http://www.telecomrecovery.com/ the form is sending them to:

    http://www.MYWEBSITE.net/http://…

    How can I have the redirect NOT include my website's url?

View thread