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
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
I think setting a <title in your own language to the field you want to validate is enough to display validations in other languages.
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
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
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?
I suppose you will be posting a solution for the interaction bug in the bug tracker thread?
This topic is locked and no more replies can be posted.