Forums

ChronoForm validation messages

Rose-N 30 Apr, 2009
Hello,

first, sorry in advance for my english.
just hope to be on the right part of this forum to ask this question...

I just install Chronoforms 3.1RC4.11 on Joomla 1.5.10
I managed to create a form by including HTML code and do the parameters for email settings and validation
3 fields are required and email is to be valid.

I change in the program JSvalidation2.php the messages in French
it seems to work

but my question is : how can I place those message just under the fields and not beside (at the right) as they are.
'cos my form is a table of 4 columns and the error messages are not placed well there.

I'd tried to put a \n in front of the message but it doesn't work

Thanx in advance for your answer.
and sorry if the question is already asked and answered somewhere...
it is just too hard for me to understand everything here...
Max_admin 30 Apr, 2009
Hi, try to place "<br>" in front of the messages instead of \n ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Rose-N 04 May, 2009
Hi,
Sorry but instead of
var fMessage_val_required = 'This field is required';
I put
var fMessage_val_required = '<br />Champ Obligatoire';

in the program JSvalidation2.php

but the <br /> and "Champ Obligatoire" is written in the form when you pass to the next field...

I'm working with Chronoforms 3.1RC4.11 on Joomla 1.5.10

do you have another idea ?

I just see you have a new version
can I work with a RC version for real website or must I put a stable version ?
for the moment My website is in a testing phase but I hope it will be online officially soon
Max_admin 06 May, 2009
Hi Rose-N,

I think that I will add more options to show the error messages in the coming release! for now I have now idea how this can be fixed at your case!

the current RC is better than the last stable release and should work fine, you will be able to upgrade easily!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
haaid 08 May, 2009
if you don't mind all errormessages being on the line under the field they need to verify, you can add "display:block;" to the class .LV_invalid in the file consolidated_common.css (in components\com_chronocontact\css\).

.LV_invalid {
	color:#CC0000;
	display: block;
}
Max_admin 10 May, 2009
Thanks for sharing!🙂

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.