Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Welcome to the Official Site of PHP-Fusion
Sign In
Not a member yet? Click here to register.
1 Reply | Latest reply on 03-01-2017 04:08 by Craig
JoiNNN Posted 4 years ago 859 posts

Birthdate User Field allows invalid dates

The code inside this userfield doesn't do a proper check and allows future dates to be inserted as birth date (have a look at my date of birth on this site).
Just add to the code
&& $_POST['user_year'] < date("Y");

Go to roadmap item #1503

1 Replies

Sort replies by
CraigPosted 4 years ago 4531 posts
Yeah also it lets you set just one or 2 or all 3 like you can set only month or only year or only day. It does not check all are filled. It's been like that for ever or at least since the field was recoded lol. It was reported previously but since the roadmap has lost a lot of entries I guess that is another one forgotten about.



More topics like this

You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You cannot download attachments in this forum.
Moderator: Development Team

Birthdate User Field allows invalid dates
by JoiNNN Posted 4 years ago