PDA

View Full Version : Form Help



cheryl20
03-12-2006, 04:57 PM
The information that a customer would input into myform, is not being transferred to me in the email I get. There are no values from the text being entered. I've tested it aboout 5 times with no luck. What do i need to do in order to get the entered text to be in the email I get? Thanks for help.

Form url: www.gold-grillz.com/order1.html (http://www.gold-grillz.com/order1.html)

cheryl20
03-12-2006, 05:00 PM
here's the coding i have for the form. the only thing missing is the paypal coding, which I edited internally.
<HTML>
<HEAD>
<TITLE>We have successfully processed your order.</TITLE>
</HEAD>
<BODY>
<H2>Thanks for your order. !</H2>
To continue with the processing of your order, please click on the PAYPAL
button below to make your payment for your customized grill.
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "order@gold-grillz.com";
$mailsubj = "Order";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>

navaldesign
03-12-2006, 05:23 PM
All your text fields are named the same : T1 for the test fields, and S1 for the text area fields, which are the default names given by BV. Name them correctly:Name, email, Details, etc. Pay special attention to the email field. It must be named "email" with lowercase e.

cheryl20
03-13-2006, 04:35 PM
where do i insert that information? could you post an example?

navaldesign
03-13-2006, 06:55 PM
where do i insert that information? could you post an example?

Directly in the form in BV. Double click on every field, a popup wil open and in the name field add the specific name for every field

cheryl20
03-14-2006, 02:52 AM
Ok, I did it. I'll run a test tomorrow. Hopefully it works now. Thanks for your help