...

View Full Version : Form Trouble!!!



EJames
07-03-2002, 08:38 AM
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!

glenngv
07-03-2002, 09:51 AM
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.

requestcode
07-03-2002, 02:12 PM
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.

QuackHead
07-03-2002, 02:17 PM
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

whackaxe
07-03-2002, 02:46 PM
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 :p

QuackHead
07-03-2002, 03:09 PM
echo


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

~Quack

EJames
07-03-2002, 05:33 PM
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!

QuackHead
07-03-2002, 06:49 PM
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 :p

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

justame
07-03-2002, 09:23 PM
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)))



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum