Hello everyone,
my problem is as follows:
Had working form for sending emails and recently I changed the design a little - wrapped it in the table. This action deactivated submit button. Tried to ‘play’ with the code but… nothing helps. I thought that wrapping form inside the table shouldn’t be problem but when I use this
<table style="width:350px; height:300px; border:3px; cellpadding:5px; cellspacing:5px; background:/images/bg_small.jpg>
<form method="post" name="myemailform" action="form-to-email.php">
<tr>
<p> <label for='jmeno'><span>Your Name:</span> </label><br>
<input type="text" name="jmeno"></p>
<p> <label for='email'><span>Email Address:</span></label><br>
<input type="text" name="email"></p>
<p> <label for='message'><span>Message:</span></label> <br>
<textarea name="message"></textarea></p><br>
<?php require_once('recaptcha/recaptchalib.php');
$publickey = "6LfRO9ESAAAAABeTAE1qoDHHdRDlHU4NCG40dyCE";
echo recaptcha_get_html($publickey);
?>
</tr>
<tr>
<br><div style="text-align:center"><input type="submit" name='submit' value="submit"></div></tr>
</form>
</table>
the Submit button doesn’t work
When I try to put the table inside the form, Submit works but first line (name and it’s input field) doesn’t work. Maybe it’s just because the night was too long but does anyone have any idea?