Date of Birth Attribute not working properly - Can anyone help?
Permalink"When I go to register the date of birth has today’s date in it so some people are just leaving it and then the default is coming in.
Secondly if they do fill in their date of birth but they get notification that there is a problem in one of the other areas once they change the problem area the date seems to change back to todays date and the system accepts it!"
Can anyone help me out?
What she means is if a user is signing up & makes a mistake on the form, the value that has been entered on the DOB field resets to the current date. Does this happen with you?
So create a date and time attribute, but in the box that lets you choose its display format, choose text input field. This should fix her immediate problem.
Steve
the default value of 1/1/1970 is still coming in on the registration form for me & my client is getting a bit pi$$ed off at me and shouty - screamy.
Can you make any suggestions as to what I need to do to get it sorted?
1. add a new user attribute- date / time - input type - text only.
2. make it required for registration
3. go to the registration page
4. the date field is blank.
What may be happening in your case is that the user was already registered and the date defaulted to 1/1/1970 and got translated to text when you switched the way the input worked?
If only it was that easy. They are all new sign-ups that this 1970 issue is happening on.
I'm stumped.
Can you do it on one of our Instant Setups?
Create one from here:
http://concrete5.org/about/trial...
Turn on some screencapturing software and show us how you're getting this thing to do what you're describing. That might help, otherwise I'm afraid we're stumped too.
have you confirmed this is happening? maybe there's something screwy going on? I'm not sure without some more detail