Date of Birth profile property - validation issues

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
5/7/2014 12:46:57 AM
Gravatar
Total Posts 537
feet planted firmly on the ground

Date of Birth profile property - validation issues

I have been finding that users are managing to register on a site without a Date of Birth, despite having it set as required for registration. After a bit of testing, this happens when they enter something that is not a valid date into the control. On saving, the value disappears, though everything else saves OK.

I've improved this with a regex validator, requiring something that resembles a UK date. However, bad ones can still get through, such as 31/02/2014 (etc etc) which are not easy to tackle with a regex.  I'm rusty on ASP.Net validators, but could there be something extra on this field to ensure that a valid date has been entered? Maybe a "compare" validator?

You must sign in to post in the forums. This thread is closed to new posts.