Need form submission help

M

Monkeymoo

My host is on Godaddy.com and I'm using their pre-installed cgi form. Here
is my code:

<form action="cgi/gdform.cgi" method="post">

<input type="hidden" name="subject" value="Form Submission">
<input type="hidden" name="redirect" value="thanks.htm">

<INPUT TYPE="text" NAME="FirstName" SIZE=40>
<INPUT TYPE="text" NAME="email" SIZE=40>
<TEXTAREA NAME="comments" ROWS=5 COLS=40></TEXTAREA>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit"></P>
</FORM>

It's actually within a table but I deleted those tags for clarity. Now my
concern is, the emails I'm getting look like this:

-------------------------------------
FirstName: Steve
Submit: Submit
comments: This is a test message


email: (e-mail address removed)

-----------------------------------------------------------------
This e-mail was generated from a form submission on your website:

Can anyone tell me how to get rid of that "Submit:Submit" line? It doesn't
seem to serve any purpose other than to clutter up the email. I'm assuming
it's something within my <INPUT TYPE="submit"> tag but I'm not sure what I
can delete and still have the form work.

Thanks for any help!
 
A

Adrienne

My host is on Godaddy.com and I'm using their pre-installed cgi form.
Here is my code:

<form action="cgi/gdform.cgi" method="post">

<input type="hidden" name="subject" value="Form Submission"> <input
type="hidden" name="redirect" value="thanks.htm">

<INPUT TYPE="text" NAME="FirstName" SIZE=40>
<INPUT TYPE="text" NAME="email" SIZE=40>
<TEXTAREA NAME="comments" ROWS=5 COLS=40></TEXTAREA>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit"></P> </FORM>

It's actually within a table but I deleted those tags for clarity. Now
my concern is, the emails I'm getting look like this:

-------------------------------------
FirstName: Steve
Submit: Submit
comments: This is a test message


email: (e-mail address removed)

-----------------------------------------------------------------
This e-mail was generated from a form submission on your website:

Can anyone tell me how to get rid of that "Submit:Submit" line? It
doesn't seem to serve any purpose other than to clutter up the email.
I'm assuming it's something within my <INPUT TYPE="submit"> tag but I'm
not sure what I can delete and still have the form work.

Thanks for any help!

Forms send name/value pairs. If something is not named, it will not be
sent as a name/value pair, and therefore, should not show up in the email
you are receiving.
So, change:
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit">
to:
<INPUT TYPE="submit" VALUE="Submit">
 
P

Phil

Monkeymoo said:
My host is on Godaddy.com and I'm using their pre-installed cgi form. Here
is my code:

<form action="cgi/gdform.cgi" method="post">

<input type="hidden" name="subject" value="Form Submission">
<input type="hidden" name="redirect" value="thanks.htm">

<INPUT TYPE="text" NAME="FirstName" SIZE=40>
<INPUT TYPE="text" NAME="email" SIZE=40>
<TEXTAREA NAME="comments" ROWS=5 COLS=40></TEXTAREA>
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit"></P>
</FORM>

It's actually within a table but I deleted those tags for clarity. Now my
concern is, the emails I'm getting look like this:

-------------------------------------
FirstName: Steve
Submit: Submit
comments: This is a test message


email: (e-mail address removed)

-----------------------------------------------------------------
This e-mail was generated from a form submission on your website:

Can anyone tell me how to get rid of that "Submit:Submit" line? It doesn't
seem to serve any purpose other than to clutter up the email. I'm assuming
it's something within my <INPUT TYPE="submit"> tag but I'm not sure what I
can delete and still have the form work.

Thanks for any help!
It looks to me like a standard email you would get from a standard (free)
form submission!
If it didn't give the description of the line the client was inputting it
would be very confusing and there were a lot of input lines, say 20 or more,
then without the relative line descriptions it would be almost impossible to
work out the correct input information, especially if the client had entered
stuff in an incorrect line - hope this helps. - Phil x x
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top