AHoward007
05-13-2009, 08:15 PM
I have a form setup up with three input boxes. If I enter data in one of the fields and accidentally hit 'enter' the data posts instead of waiting for all three fields to be entered and the Submit button is clicked. How do I correct that.
<form action="processforms.php" method="post">
<Input name="englishinput" type="text" Style="Color:#000000; Background-Color:#FFFFFF; Text-align:left; Font-Family:Arial; Font-Size:19px; Line-Height: normal; Left:36px; Width:177px; POSITION: absolute; Top:598px; Height:26px; border:2px solid;">
<Input name="spanishinput" type="text" Style="Color:#000000; Background-Color:#FFFFFF; Text-align:left; Font-Family:Arial; Font-Size:19px; Line-Height: normal; Left:242px; Width:177px; POSITION: absolute; Top:598px; Height:26px; border:2px solid;">
<textarea name="commentinput" style="Text-Align:Left; Font-Weight:Bold; Color:#000000; Background-Color:#FFFFFF; Left:36px; POSITION:absolute; Top:693px; Font-Family:Arial; Font-Size:15px; Width:384px; Height:89px;"></textarea>
<Button Style="Color:#0000CD; Background-Color:#C0C0C0; Font-Family:Arial; Font-Weight:Bold; Font-Size:16px; Left:36px; Width:135px; POSITION:absolute; Top:816px; Height:36px;">Submit</Button>
</form>
<form action="processforms.php" method="post">
<Input name="englishinput" type="text" Style="Color:#000000; Background-Color:#FFFFFF; Text-align:left; Font-Family:Arial; Font-Size:19px; Line-Height: normal; Left:36px; Width:177px; POSITION: absolute; Top:598px; Height:26px; border:2px solid;">
<Input name="spanishinput" type="text" Style="Color:#000000; Background-Color:#FFFFFF; Text-align:left; Font-Family:Arial; Font-Size:19px; Line-Height: normal; Left:242px; Width:177px; POSITION: absolute; Top:598px; Height:26px; border:2px solid;">
<textarea name="commentinput" style="Text-Align:Left; Font-Weight:Bold; Color:#000000; Background-Color:#FFFFFF; Left:36px; POSITION:absolute; Top:693px; Font-Family:Arial; Font-Size:15px; Width:384px; Height:89px;"></textarea>
<Button Style="Color:#0000CD; Background-Color:#C0C0C0; Font-Family:Arial; Font-Weight:Bold; Font-Size:16px; Left:36px; Width:135px; POSITION:absolute; Top:816px; Height:36px;">Submit</Button>
</form>