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 9 of 9

Thread: Form Trouble!!!

  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy Form Trouble!!!

    OK OK OK...

    NOW IM NO HTML EXPERT SO IM NOT TOO ADVANCED WITH FORMS HERE, THUS I ASK THE EXPERTS. OK NOW IM TRYING TO MAKE A BASIC FORM, WITH A SINGLE LINE TEXT AREA FOR YOUR NAME, ANOTHER FOR YOUR E-MAIL ADDRESS, AND THAN A 6 ROW TEXT AREA FOR THE MESSAGE. THAN I HAVE A SUBMIT AND RESET BUTTONS LINKED TO MY E-MAIL. IM USING THIS AS A CONTACT METHOD FOR VISITORS OF MY WEBSITE. OK HERE IS THE CURRENT CODE I AM USING:

    <FORM METHOD="SEND" ACTION="mailto:my - email">
    <INPUT TYPE="text" NAME="Name" SIZE="30">
    <INPUT TYPE="text" NAME="E-Mail" SIZE="30">
    <TEXTAREA NAME="Feedback" ROWS=6 COLS=40>
    </TEXTAREA>
    <INPUT TYPE="submit">
    <INPUT TYPE="reset">
    </FORM>

    OK, PROBLEM NUMBER ONE, THE TEXT AREAS COME UP, BUT THE ACTUALLY TEXT THAT I WOULD LIKE TO LABEL THE TEXT ARES(NAME, E-MAIL, FEEDBACK, ETC.) DOES NOT APPEAR. SECONDLY, WHEN I CLICK THE SUBMIT BUTTON THIS MESSAGE APPEARS:

    WARNING: THIS FORM IS BEING SUBMITED USING E-MAIL.
    SUBMITING THIS FORM WITH REVEAL YOUR E-MAIL ADDRESS TO THE RECIPIENT, AND WILL SEND THE FORM DATA WITHOUT ENCRYPTING IT FOR PRIVACY. YOU MAY CONTINUE OR CANCEL THIS SUBMISSION.

    WHEN SELECTING CANCEL, THE BOX DISAPPEARS AND THE FORM PAGE STAYS. WHEN CLICKING CONTINUE THE WARNING BOX APPEARS AND AN E-MAIL BOX SHOWS UP WITH MY E-MAIL ADDRESS IN THE SEND TO BOX. THIS IS NOT WHAT I WAS LOOKING FOR. I'M TRYING TO HAVE IT SO THE VISITOR CAN TYPE IN THE INFORMATION, CLICK SUBMIT, AND THE INFORMATION IS SENT TO MY E-MAIL ADDRESS. MAYBE EVEN A POP UP MESSAGE TO CONFIRM TO THE VISITOR THAT THE MESSAGE HAS BEEN SENT. IF ANYONE CAN HELP ME PLEASE RESPOND. THANK YOU!

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    problem #1. You didn't specify the labels you wanted, did you?

    <FORM METHOD="SEND" ACTION="mailto:my - email">
    Name: <INPUT TYPE="text" NAME="Name" SIZE="30"><br>
    E-mail: <INPUT TYPE="text" NAME="E-Mail" SIZE="30"><br>
    Message: <TEXTAREA NAME="Feedback" ROWS=6 COLS=40>
    </TEXTAREA><br>
    <INPUT TYPE="submit">
    <INPUT TYPE="reset">
    </FORM>

    about prob#2, maybe others can help you. Don't know how to go about that.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    626
    Thanks
    0
    Thanked 0 Times in 0 Posts
    When using "mailto:email-address" in the action property of the form tag you will get that warning. There is nothing you can do other that use a Server Side script to process your form. In your <form> tag you also need to include enctype="plain/text" or your email message will look like garbage. Also for your input and reset buttons if you want some other type of text to show up on the button then code them like this:
    <input type="submit" value="Submit This Form">
    <input type="reset" value="Clear Form">

    The text within the value property will show up on your buttons.
    You might want to consider using a service to process your form. One that I know of is http://www.bravenet.com . I believe it is free if you place a link on your document.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    To process the form without getting that disturbing message

    you are going to need some sort of Server Side script.

    There are plenty of free components on the internet that will do this - just do a search for it...

    I think bravenet may have one, as well as geocities...

    Check around - but there are better ways of doing this than using a mailto form.

    ~Quack

  • #5
    Senior Coder
    Join Date
    Jun 2002
    Location
    paris, france
    Posts
    1,216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    if you want your name tags to appear inside the actual box you have to use this

    <input type="text" name="email" value="insert e-mail here">
    <textarea rows="6" name="message">this is whee ya out the message</textarea>

    thats should work. o and drop the caps pleez, there is no need to shout
    photoshop too expensive? use the GIMP! www.gimp.org

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    echo

    Originally posted by whackaxe
    o and drop the caps pleez, there is no need to shout
    ~Quack

  • #7
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    SERVER SIDE SCRIPT...

    OK...

    MY MAIN CONCERN AT THIS TIME IS STOPPING THAT POP UP BOX. I HEARD SOMETHING ABOUT FREE SERVER SIDE SCRIPTS BUT IM NOT VERY FAMILAR WITH THEM. IF SOMEONE COULD EXPLAIN IT TO ME AND EXACTLY WHERE I COULD FIND THEM THAT WOULD HELP A GREAT DEAL.

    THANK YOU!

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Posts
    344
    Thanks
    0
    Thanked 0 Times in 0 Posts
    echo again!!! did you not get it the first 2 times??

    Originally posted by whackaxe
    o and drop the caps pleez, there is no need to shout
    check at geocities - they used to (like 4 years ago) have a script that could be used to submit simple forms... see what you can find.

    www.geocities.com - you might have to be a member... I don't know.

    ~Quack

  • #9
    Regular Coder
    Join Date
    Jun 2002
    Posts
    676
    Thanks
    1
    Thanked 0 Times in 0 Posts
    eja...
    just a checkout® this link...
    http://www.solidscripts.com/

    tis one of the forum members site n' heee aka wha errr whammy has one...:O)))
    The New JustaBuster Version 2.0 OR JustaBusta Lite V2.0
    ...just a special® thanx kinda hugs to jkd n' nex ...:O)))

    CommemorateWTC.com --Please lend your support


  •  

    Posting Permissions

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