Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Datepicker incorrectly displays bad date after selecting the date
ISSUE SUMMARY:
In registration, when the date is the only field required, once you select the date, the datepicker doesn't lose focus and the date is not "entered" into the box and the invalid date message doesn't go away. You must then either click off of the box or press the enter button for the box to lose focus and the DOM to process the ajax query, thus making the invalid date message go away.
STEPS TO REPLICATE:
1 Go to the jomsocial registration page
2 Enter the username, email, pass, etc.
3 The following screen will request the date only if setup properly (Basic Information)
4 Select the correct date.
5 Note the date is entered and the date input box still has focus
6 Note the invalid date message does not go away and you cannot click the next button (counter intuitive)
7 It is not until you either press enter or click off of the date box again for the box to lose focus and the ajax run to allow the message to close and the ability to hit the "next" button is enabled
RESULT
Blocking the registration process in a counter intuitive manner
EXPECTED RESULT
For the date to be recognized immediately following selecting the date
BROWSER
All
What browser are you using that you cannot duplicate the issue?
To be clear: Datepicker is showing the correct date in the text box. The AJAX associated with it, incorrectly displays the message:
"Birthdate is empty or contains an invalid value." after choosing the date and it never updates itself until you click off of the box (for it to lose focus and update the DOM object through the AJAX call).
Can you please verify that you can reproduce this by simply clicking in the Birthdate box, selecting a date, then do NOTHING else. and see if the error message ever goes away.
Yes, you must click twice to move to the next step. Normally if you have more required fields, this issue would not show up since you would naturally lose focus and the ajax would run when you move to the next field. You would only see it if the date was last.