Forums

help with validation

sudhakararaog 12 May, 2009
hi

i am using chrono form V3.1_RC4.11 with joomla 1.5.9

i am having a problem with displaying an error message with select tag.

my form has a default 2 column layout where the labels are on the left and the form elements on the right. in the form wizard like other form elements i have created a dropdown and made it as required with a message if the user does not select any option. when i click the submit button without selecting any option from the drop down the error message is appearing to the left of the drop down and the entire select element is moving to the right, when i make a selection then the error message disappears and the select moves back to its original place

this movement does not happen with all the other form elements like textfield, radio button, text area etc its happening only with drop down select element

how to fix this.

please advice.

also the messages that appear are red in color and they are in bold, how do i change this font to normal, which file and what code to edit to make the text appear as normal instead of bold.


thanks a lot
Max_admin 14 May, 2009
Hi sudhakar,

To change validations styles, they are at the validation CSS file components/com_chronocontact/css/ ,you can override the css in the form HTML too, some examples are posted here, make sure you are doing it for the correct version!

the problem with the select box is expected to be a problem with your form code/layout, like an unclosed tag!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.