PDA

View Full Version : Submit button doesn't work



ricosoma
10-02-2007, 10:06 PM
I just published my BV redesigned site. Everything seems OK except the submit button on my contact form doesn't work. Here is a link to the page:
http://www.boninremodeling.com/contact.html
a link to the action page:
http://www.boninremodeling.com/action.php
And the code copied to it:
<?PHP
$mailto = "info@boninremodeling.com";
$email = $HTTP_POST_VARS['email'];
if ($email == "") {
$email = $mailto;
}
$mailsubj = "Project info request";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>

Any help would be appreciated

navaldesign
10-03-2007, 04:26 AM
Both your text Area and your submit button are outside the form area. Cut (select them, then Edit > Cut) the two elements. Stretch down the form area enough to cover the position of these two elements. Then paste them back in the form using the Paste icon in the toolbar. Save, publish, and refresh your browser before testing.

ricosoma
10-03-2007, 01:04 PM
Thanks for your help Navaldesign, the form works now