Click here to get back home

Trying to get the submit form to work - confused, please help!

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Trying to get the submit form to work - confused, please help! Victory 03-17-2008
Posted by Victory on March 17, 2008, 3:12 pm
Please log in for more thread options
What I have in the webpage is different from what they are telling me
to - I am sorry if this is rudimentary, I apologize in advance, I just
want the form mailer to work!

Here is the "submit part" from my website and below it is the
instructions from my web host on how to make it work:


                                                <br style="line-height:20px;"/>
                                                <form id="form1" action="" enctype="multipart/form-data"
name="form1">
                                                        <div>
                                                                <div class="fleft" style="width:221px;">
                                                                        <div class="form"><input type="text" value="First Name:" /></
div>
                                                                        <div class="form"><input type="text" value="Last Name:" /></
div>
                                                                        <div class="form"><input type="text" value="Telephone:" /></
div>
                                                                        <div class="form"><input type="text" value="E-mail Address:" /
></div>
                                                                        <div class="form"><input type="text" value="State / City:" /
></div>
                                                                        <div class="form"><input type="text" value="Country:" /></
div>
                                                                </div>
                                                                <div class="fleft"><img alt="" src="images/spacer.gif"
width="23" height="1" /></div>
                                                                <div class="fleft" style="width:251px;">
                                                                        <textarea name="textarea" cols="20" rows="20">Message:</
textarea>
                                                                        <div class="fright" style="margin-top:3px;"><a class="link1"
href="#" onclick="document.getElementById('form1').reset()"><img
alt="" src="images/but_reset.gif" /></a>&nbsp; &nbsp; &nbsp; <a
class="link1" href="#"
onclick="document.getElementById('form1').submit()"><img alt=""
src="images/but_submit.gif" /></a></div>
                                                                </div>
                                                                <div class="clear"></div>
                                                        </div>
                                                </form>


Web host info :
1. Using our pre-installed forms handler

First of all, you must design your form using your desired web design
tools. Once this is done, you must manually edit the HTML code for
your form, some web design software has this feature built in.

You have to modify the following code on your form page:
<form action="/cgi/formmail" method = "POST">
The above code instructs your form to use the Netfirms form handler to
process the form.

NOTE: Do not reference your domain pointer in the form action tag as
that will produce an error message.

2. Specify Recipient E-mail address

Next you must have the following line of code after the form action
tag we entered above:

OR
<input type=hidden name="recipient"
value="you@yourdomain.com,anothername@anotherdomain.com">

This instructs the formmail script where to E-mail the information
entered on the form. Be sure to change you@yourdomain.com to your
actual E-mail address.


Posted by Harlan Messinger on March 17, 2008, 3:40 pm
Please log in for more thread options
Victory wrote:
> What I have in the webpage is different from what they are telling me
> to - I am sorry if this is rudimentary, I apologize in advance, I just
> want the form mailer to work!
>
> Here is the "submit part" from my website and below it is the
> instructions from my web host on how to make it work:
>
>
> <br style="line-height:20px;"/>
> <form id="form1" action="" enctype="multipart/form-data" name="form1">
> <div>
[snip]

It would have been helpful for you to remove the excess tabbing before
pasting the code so it would have been legible without us having to copy
and paste it elsewhere and remove the tabs ourselves.

> Web host info :
> 1. Using our pre-installed forms handler
>
> First of all, you must design your form using your desired web design
> tools. Once this is done, you must manually edit the HTML code for
> your form, some web design software has this feature built in.
>
> You have to modify the following code on your form page:
> <form action="/cgi/formmail" method = "POST">
> The above code instructs your form to use the Netfirms form handler to
> process the form.

You didn't do this.

Posted by Victory on March 17, 2008, 3:54 pm
Please log in for more thread options
Sorry about the tabbing, I should have done that.

> > Web host info :
> > 1. Using our pre-installed forms handler
>
> > First of all, you must design your form using your desired web design
> > tools. Once this is done, you must manually edit the HTML code for
> > your form, some web design software has this feature built in.
>
> > You have to modify the following code on your form page:
> > <form action="/cgi/formmail" method = "POST">
> > The above code instructs your form to use the Netfirms form handler to
> > process the form.

> You didn't do this.

No, this is the raw code, I wasn't even sure where to begin.

Posted by Harlan Messinger on March 17, 2008, 5:00 pm
Please log in for more thread options
Victory wrote:
> Sorry about the tabbing, I should have done that.
>
>>> Web host info :
>>> 1. Using our pre-installed forms handler
>>> First of all, you must design your form using your desired web design
>>> tools. Once this is done, you must manually edit the HTML code for
>>> your form, some web design software has this feature built in.
>>> You have to modify the following code on your form page:
>>> <form action="/cgi/formmail" method = "POST">
>>> The above code instructs your form to use the Netfirms form handler to
>>> process the form.
>
>> You didn't do this.
>
> No, this is the raw code, I wasn't even sure where to begin.

Oh, I see what you mean. Well, then, do this! Meaning: replace

        action=""

with

        action="/cgi/formmail"

and also add the missing

        method="post"

inside the FORM tag.

Posted by Victory on March 17, 2008, 5:31 pm
Please log in for more thread options
Ok, thank you for the quick response :
Does this look right now :

<form id="form1" action="/cgi/formmail" enctype="multipart/form-data"
name="form1" method="post" >

I put the METHOD POST inside the FORM tag, and I was guessing this was
the right place for it.
>
> and also add the missing
>
> method="post"
>
> inside the FORM tag.


Similar ThreadsPosted
Submit a form with hyperlink August 6, 2004, 11:56 pm
Submit a form without using a button? December 24, 2004, 4:26 pm
Form submit problem in IE March 31, 2006, 7:41 am
Submit a form using anchors? November 8, 2006, 3:53 pm
How to get rid of focus on submit button of a form. September 5, 2004, 1:21 pm
Restoring OTHER form field after submit September 23, 2005, 1:43 am
Saving HTML Form without Submit December 8, 2005, 4:23 pm
Correct form for file:// URLs (or why don't they work in Firefox?) January 13, 2005, 9:37 pm
Using multiple button type="submit" elements within a form April 15, 2005, 4:24 pm
Newbie: How to use graphic instead of submit button on HTML form? August 29, 2006, 5:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap