• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Validation message in radio / checkbox groups

Validation message in radio / checkbox groups 12 years 11 months ago #13761

Hello, if you create a radio or checkbox groups and display them each in a row (www.rsjoomla.com/customer-support/docume...s-each-on-a-row.html) and also use a validation, you will see that message will appear under de first item and next to the second (bad).

To solve this, you need to modify the forme.html.php file under components/com_forme folder, doing this:

In the line 131 you will find:
$error .= '<br/><span style="color: #CF4D4D;font-weight:bold;font-size:10px;">'.$errmsg.'</span>';

You have to add two items to the style: clear: both; and float: left;

This is the result:
$error .= '<br/><span style="color: #CF4D4D;font-weight:bold;font-size:10px;clear: both;float: left;">'.$errmsg.'</span>';

Now you will see that the validation message will appear under the last item in the group.

I hope it is useful to someone and add it in future versions of this great component :P

Regards,
Mauro.
Last Edit: 12 years 11 months ago by Mauro Luque.
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!