Close

Results 1 to 3 of 3
  1. #1
    DF Jedi devs's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    1,105
    Thanks
    46
    Thanked:        3
    Karma Level
    247

    Default Redirecting a CGI form? How!

    Hi people I've got a problem redirecting a form on a HTML page, I've tried the…

    <input type="hidden" name="redirect2" value="mypage.html">

    The form is calling to a cgi script…

    <form action="mypage.cgi?tasks" method="post" name="_form" onsubmit="return staffSelect(this)">

    How can I stop the form from redirecting on Submit to the default area?

    Any help welcome!

    Cheers,

  2. #2
    DF Rookie maxking's Avatar
    Join Date
    Aug 2002
    Location
    Sousse, Tunisia
    Posts
    17
    Thanks
    0
    Thanked:        0
    Karma Level
    0

    Default

    I dont know if you have sorted your problem out with the redirection when you press submit, but if not, i would need more information from you about this, for example when you press submit, it is going to be redirect to a cgi-bin script, this is normal, now if you have a cgi-bin script, at the begining of the form that submit is in you would put the full URL of the cgi-bin script like:

    <FORM name=f action=http://mail.emailacc.com/src/redirect.php method=post>

    Do you understand what i am saying ?

  3. #3
    DF Jedi devs's Avatar
    Join Date
    Jul 2001
    Location
    uk
    Posts
    1,105
    Thanks
    46
    Thanked:        3
    Karma Level
    247
    Hi Paul, yes I managed to get the problem sorted. A friend of mind in the US sorted it for me - I'm not sure how he did it?

    Thanks Anyway Mate,

Similar Threads

  1. one to one form...
    By LiquidJay in forum Job Centre
    Replies: 3
    Last Post: 8th December 2007, 06:14 AM
  2. Form help
    By abrocky in forum Website Coding & Graphics
    Replies: 1
    Last Post: 2nd March 2005, 11:07 AM
  3. Redirecting my website?
    By computerman in forum Web Hosting & Domain Names
    Replies: 2
    Last Post: 18th April 2003, 02:42 PM
  4. form z for mac
    By joeninety0 in forum PC Software
    Replies: 1
    Last Post: 6th February 2003, 09:33 PM
  5. Redirecting a CGI form? How!
    By devs in forum Website Coding & Graphics
    Replies: 1
    Last Post: 2nd September 2002, 02:02 PM

Social Networking Bookmarks

Posting Permissions

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