Listed below is a zipped folder of all the files you need. The form.html and formmail.php are the files for the php set. The other file is the file that has the orginal code on it.
Last edited by rgyankees23; Oct 30th, 2003 at 09:55 PM.
Originally posted by rgyankees23 Can it be html or CSS????
Can you show me an example?
Listed below is a zipped folder of all the files you need. The form.html and formmail.php are the files for the php set. The other file is the file that has the orginal code on it.
Isn't that ZIP example good enough? Are you having trouble understanding it, or are you actually giving this to me?
my friend said that he wanted a form because he didn't understand it. So I made him one but I couldn't finish because I didn't understand how to make it send the info that the user entered in the field boxes to his email.
the one in the zip is the .php one. He tells me now that his host does not support .php extensions.
Well, if the host doesn't support PHP, what does the host support? If it is only HTML, then you're stuck with what I posted earlier (or get a new host).
Fields with * beside them are required!
<FORM method="POST" action="mailto:[email protected]"><input type="hidden" name="ArdSI"
value="27b479e918f73019816fa5bb60365dba" />
<B>Name:</B><input NAME="Name" size="30">*<BR>
<B>Company Name: <B><input name="Company Name" type="text" value="" size="30">*<BR>
<B>Address: <B><input name="Address" type="text" value="" size="30">*<BR>
<B>City: <B><input name="City" type="text" value="" size="20">*<BR>
<B>State: <B><input name="State" type="text" value="" size="20">*<BR>
<B>Zip Code: <B><input name="Zip Code" type="text" value="" size="10">*<BR>
<B>Phone Number: <B><input name="Phone Number" type="text" value="" size="12">*<BR>
<B>Email Address: <B><input name="Email Address" type="text" value="" size="30">*<BR>
<B>Do you have an existing web site? If so, what is the URL: <input name=""Existing Site URL: type="text" value="http://"
size="30"><BR>
<BR><BR><BR><B>What web design services do you need? Select <Font color="#FF0000">one:</FONT><BR>
<input name="Makeover, MinorChanges" type="radio" value=""> Site make over , only minor content changes.<BR>
<input name="Makeover, Aditional Content & Pages" type="radio" value=""> Make over, with some additional content and
pages<BR>
<input name="Add Ecommerce to an Existing site" type="radio" value=""> Add E-commerce to existing site (shopping
cart/online ordering/real time online credit card processing)<BR>
<input name="New site design, new content, to be used at existing domain" type="radio" value=""> New site design, new
content to be used, at existing domain <BR>
<input name="New site design, new content, new domain" type="radio" value=""> New site design, new content, new domain
<BR><BR>If a new domain is needed, what domain name do you want? <input name="New Domain?" type="text"
value="http://">
<BR><BR>Please describe your business.<BR>
<textarea name="Biz Description" rows="10" cols="50" ></textarea><BR><BR>
What purpose(s) will your web site serve? (check all that apply)<BR>
<input type="checkbox" name="Selling products and/or services online" value="">Selling products and/or services online<BR>
<input type="checkbox" name="Advertising brochure or portfolio" value="">Advertising brochure or portfolio<BR>
<input type="checkbox" name="Providing information and service to existing customers" value="">Providing information and
service to existing customers<BR>
<input type="checkbox" name="Running an affilitate program" value="">Running an affiliate program<BR>
<input type="checkbox" name="Selling banner advertising" value="">Selling banner advertising<BR>
<input type="checkbox" name="Selling subscriptions to online content or downloadable software or files " value="">Selling
subscriptions to online content or downloadable software or files<BR>
<input type="checkbox" name="Providing info to and communication with and among your employees" value="">Providing info to
and communication with and among your employees<BR>
<BR><BR>If selling products/services online, please list product/service categories and approximate number of individual
products/services in each category: <textarea name="Catagorys of Services & Products" rows="10" cols="50" ></textarea>
<BR><BR><B><u>Credit Cards<B></U><BR>
<BR>
Do you have a credit card merchant account that you will be using for processing payments for your online store?<BR>
<input name="Online Payments - Yes" type="radio" value="">Yes
<input name="Online Payments - No" type="radio" value="">No
<input type="submit" onBlur="doVerify()" value="Send it!">
<input type="reset" value="Start over">
How and where do I include what you posted above, in that?
that code seems fine on its own, except for that you've called a JS function to validate the data and the function doesn't exist. To get rid of that, simply don't validate, by changing:
<input type="submit" onBlur="doVerify()" value="Send it!">
(it's near the bottom)
to:
<input type="submit" value="Send it!">
Oh, and you might have to change the e-mail address near the top depending on whose that address is.
Other than that, what do you want done to the code?