Forums

Radio buttons break the layout ***SOLVED***

marcielo 18 Jun, 2009
Hi there

(Chronoforms 3.1_RC5.1./joomla 1.5.10)
I'm having trouble with my layout made with tables and some css. Everytime I try to click more the once in one of the cells with a radio group, the layout breaks apart. I tried the same form with two different templates and the problem is the same😟
You can see it here:
http://test.bagge-web.dk/index.php?option=com_chronocontact&Itemid=12

If I turn of the validation for the fields the problem disappears!

I have an old Chrono 3.0 stable version that works great. That I would switch back to if it wasn't because I have no module for it that I also need for this site.
GreyHead 19 Jun, 2009
Hi marcielo,

It's happening because the validation code is adding this
<span class="LV_validation_message LV_valid"> </span>
after the tag that wraps the radio button group - which in this case is the table <td> so you get <td> . . .</td><span class="LV_validation_message LV_valid"> </span><td> . . .

I'd suggest that you try wrapping the radio button group in a <div> inside the <td> - hopefully then the message block will also stay inside the <td>. But an error message will take up some space in the page layout.

Bob
marcielo 02 Jul, 2009
Thanks a lot for your help😀 .
I chose to redo the form strictly with css instead
This topic is locked and no more replies can be posted.