(solved) validating fields

chrissy6930 26 May, 2011
hi all,

I am having a couple probs with field validation:

- although I am using a non-english language for the user side validation errors are displayed in english. I checked the source and there is a de.js file with relevant constants.

- usually validation errors show up above the right corner of a field. On date fields however they show up misplaced, i.e. flushed left with part of the message hidden outside the browser - only 'ld is required.' is visible (FF3, IE8, Safari5, Chrome11, Opera11)

could somebody please help me out?

J!1.5.23; CF4 RC1.8
ernielete 27 May, 2011
I think setting a <title in your own language to the field you want to validate is enough to display validations in other languages.
GreyHead 27 May, 2011
Hi crissy6930,

There's a bug in loading the language files - see the workaround here. Or you can over-ride with the title attribute as ernielete posted.

There's another bug in the interaction between the datepicker and the validation libraries that gives the misplaced messages. I don't know of any fix for that yet.

Bob
chrissy6930 30 May, 2011
thanks for the hint on loading language files. works perfectly now🙂

I suppose you will be posting a solution for the interaction bug in the bug tracker thread?
GreyHead 30 May, 2011
Hi chrissy3960,

I suppose you will be posting a solution for the interaction bug in the bug tracker thread?

If I find one . . .

Bob
This topic is locked and no more replies can be posted.