Date Picker alert box have a wrong position

minikat 07 Jul, 2011
Hi!

I'm actually working on a projet who use à lot of datePicker fields.
The problem is the alert box always shown at a wrong position as you can see on screenshot (a part of the box is out of screen).
All the alert boxes for other kind of fields work fine and the problem appear with all navigator I've tried(IE7 to 10, Firefox, Chrome)
The tests were done without parent div elements or other elements around.

This problem occur with another one, in my exemple, start date and end date are required (Errors event : onSubmit & onBlur) :
- focus on start date, leaving Title of event empty -> OK : alert message 'this field is required'
- focus on end date, leaving start date empty -> problem : nothing appear

How could I try to fix this problem ?

Configuration : Joomla 1.5.23 - chronoform V4_RC1.9
Thanks in advance.

Sorry for my English, I do my best -:)
GreyHead 07 Jul, 2011
Hi minikat,

Yes, this is a known problem; and I'm not sure how to fix it. What happens is that the datepicker creates a new input and moves the original one off-screen to hide it - but the error message still tries to attach to it :-(

Bob
GreyHead 08 Jul, 2011
Hi minikat,

I just tested this with ChronoForms v4 RC1.9 in both Joomla! 1.5.23 and 1.6.4 and the error message show correctly in both cases.

Please post a link to the form so I can take a quick look.

Bob
minikat 12 Jul, 2011
Hi Bob,

I finaly found. I don't really understand the existence of the two checkboxs in validation tab for a datepicker field. But I was checking only one of them (the first). checking both of them and the problem of alert box position disapear.
A little problem still exist, after the alert box (this field is required) and the field filled, the box don't disapear, nothing realy annoying

Thanks
GreyHead 12 Jul, 2011
Hi minikat,

Well found :-) I didn't know why the two 'required' boxes are there.

Bob
elvinjoe 13 Dec, 2011
hi guys,

This is similar to my problem. However when i try to fix by checking both checkbox for validation (required). The validation would not work and it would submit the form. Any ideas? thanks in advance
This topic is locked and no more replies can be posted.