1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Forms forms and d%^$£%^ forms

Discussion in 'Web Development & Web Hosting' started by sirdragon, Mar 2, 2004.

  1. sirdragon

    sirdragon Nibble Poster

    70
    0
    11
    Hi guys,

    Im back with more forms questions, given up on mailto version as for some
    reason doesnt work on my laptop. even when up loaded and all instructions followed.

    SO tried using btopenworld's cgi .

    [code:1:ff89e10d33]<form method="post" action="http://www.btinternet.com/cgi-bin/userform.cgi">


    <!--The title and URL of the form will be listed at the top of the
    e-mail-->


    <input type="hidden" name="products"
    value="www.btinterent.com/sirdragon/noframesventure/products.htm">
    <!--this is the forms url page-->

    <!--Specify the e-mail address to which data from the form should be
    sent-->

    <input type="hidden" name="SendMailTo"
    value="sirdragon@btopenworld.com">

    <!--Specify the acknowledgement page to be seen by customers who have
    sent in the form-->

    <input type="hidden" name="redirect"
    value="http://www.btinternet.co.uk/sirdragon/noframesventure/thankyou.htm">[/code:1:ff89e10d33]

    got all this set up etc and when i try it guess what.......yup doesnt work
    argggg.

    this is the url for the page I am testing
    http://www.sirdragon.btinternet.co.uk/noframesventure/products.htm

    even the reset isnt working so I am guessing i have missed something rather crucial.

    could you please have a look at the source code and see if you can make
    sense of it.

    cheers(i hope)

    Martin
     
  2. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    You must have more to the above HTML as its incomplete.


    Works OK for me with this simple form

    [code:1:ee18fa1ef6]<form method="POST" name="email" action="http://www.btinternet.com/cgi-bin/userform.cgi">
    <input type="hidden" name="SendMailTo" value="test@certforums.co.uk">
    <p><input type="text" name="text_box1" size="20"></p>
    <p><input type="submit" value="Submit" name="Submit"><input type="reset" value="Reset" name="Reset"></p>
    </form>[/code:1:ee18fa1ef6]
     
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...
  3. sirdragon

    sirdragon Nibble Poster

    70
    0
    11
    :oops: :oops:

    cheers SimonV

    figured it out my submit button was set as a type=button so it wasnt submitting duh :oops:

    seems to work ok on the site now except that i get redirected to btopenworld.com/user

    could you try it and see if you are redirect to the thank you page?
    as maybe they are sending me to check the post ..............

    cheers
    martin
     
    Last edited by a moderator: Jan 2, 2015
  4. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...
  5. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...
  6. sirdragon

    sirdragon Nibble Poster

    70
    0
    11
    bizzare...... :unsure :!:

    works ok for me when i cut n paste it in........
    :idea: try

    http://www.sirdragon.btinternet.co.uk/noframesventure/

    and navigate to products......

    cannot for the life of me figure out why i am redirected to bt site ...it isnt even in the script :?:

    cheers martin
     
  7. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    We must have been posting at the time. See above :deal
     
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...
  8. sirdragon

    sirdragon Nibble Poster

    70
    0
    11
    :salut
    hmmm
    could be

    although both are supposed to work will swap n see.... :lol:



    cheers martin
     
  9. sirdragon

    sirdragon Nibble Poster

    70
    0
    11
    :yep

    success hehe

    easy when u know how huh

    good spot SimonV..that had been bugging me for a while :)

    sometimes u can just look without seeing ................


    cheers martin
     
    Last edited by a moderator: Jan 2, 2015
  10. SimonV

    SimonV Petabyte Poster Administrator

    6,616
    149
    228
    Hey no problem, glad I could help in some way. :thumbleft
     
    Certifications: MOS Master 2003, CompTIA A+, MCSA:M, MCSE
    WIP: Keeping CF Alive...

Share This Page

Loading...