PDA

View Full Version : form php issues


miamikrock
06-10-2009, 01:33 AM
I made a form that uses php, but in chrome and firefox you must use tab to navigate between text fields. If you click on a text field it puts you back at the first text field. Please help.

edbr
06-10-2009, 01:46 AM
code, url or crystal ball

miamikrock
06-10-2009, 03:27 AM
I used the form email php tutorial from dreamweaverclub.com, so code I guess.

edbr
06-10-2009, 03:41 AM
we need to see how it looks, idf it is correct so post what you have here for the form you use

miamikrock
06-10-2009, 03:51 AM
<form id="Contact form" name="Contact form" method="post" action="http://greenthumblandscapingservice.com/sendresults.php">
<label>Name
<input type="text" name="Name" id="Name" />
<br />
Address
<input type="text" name="Address" id="Address" />
<br />
Phone
<input type="text" name="Phone" id="Phone" />
<br />
Email
<input type="text" name="Email" id="Email" />
<br />
<br />
<input type="submit" name="Submit" id="Submit" value="Submit" />
<br />
</label>
</form>

edbr
06-10-2009, 04:17 AM
its your incorrect use of label try this
<form id="Contact form" name="Contact form" method="post" action="http://greenthumblandscapingservice.com/sendresults.php">
<label>Name
<input type="text" name="Name" id="Name" />
</label><br />
<label>Address
<input type="text" name="Address" id="Address" />
<br />
<label>Phone
<input type="text" name="Phone" id="Phone" />
</label><br />
<label>Email
<input type="text" name="Email" id="Email" />
</label><br />

<input type="submit" name="Submit" id="Submit" value="Submit" />
<br />

</form>

miamikrock
06-10-2009, 05:26 AM
Thank you very much.
When I used your code it made the first to work right, then I realized there was a </label> missing after the address code.
Thanks you really helped my brain unfreeze.

<form id="Contact form" name="Contact form" method="post" action="http://greenthumblandscapingservice.com/sendresults.php">
<label>Name
<input type="text" name="Name" id="Name" />
</label><br />
<label>Address
<input type="text" name="Address" id="Address" />
</label>[/COLOR]<br />
<label>Phone
<input type="text" name="Phone" id="Phone" />
</label><br />
<label>Email
<input type="text" name="Email" id="Email" />
</label><br />

<input type="submit" name="Submit" id="Submit" value="Submit" />
<br />

</form>

edbr
06-10-2009, 05:49 AM
posting a problem often can give you an answer, stepping away from it maybe , any way ur welcome