PDA

View Full Version : Resolved How to put the form labels on the right?



Rain Lover
12-01-2010, 03:26 PM
Hi,

Please look at the following comment form:
http://docs.jquery.com/Plugins/Validation

There's a similar one on this page:
http://jquery.bassistance.de/validate/demo/

I'd like to put the labels on the right of text input fields and display the error messages under input fields.
Tried almost anything, but to no avail. :(

Any help is greatly appreciated!
Rain Lover

jscheuer1
12-03-2010, 08:39 AM
Both of these work, not sure about with the script or not though:


<input type="text" name="bob" id="bob" value="aloo"><label for="bob">Bobalooie</label>

and:


<label for="bob"><input type="text" name="bob" id="bob" value="aloo">Bobalooie</label>

Rain Lover
12-03-2010, 02:14 PM
I just found the solution:
http://docs.jquery.com/Plugins/Validation/validate#toptions

Thanks anyway!