Skip to Content Skip to Menu

[SOLVED] Problem with Date Validation in Registration Form

  • philgsy
  • philgsy
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
10 years 1 week ago - 10 years 1 week ago #251854 by philgsy
I may have identified a small big with the validation of a date field when new users are trying to register on my website:

CB Version 2.0.1

Field Title: Date Of Birth
Field Name: cb_dateofbirth
Field Type: Date
Required: Yes
Read Only: Yes
Parameters/Validation: Minimum Year: 1900
Parameters/Validation: Maximum Year: -18

When user trying to register they're getting an error message:
Error - Date Of Birth: This field is required!

My CB Configuration is set to a date format of dd/mm/yy

If I change the configuration to mm/dd/yy then it works!

Any ideas what is causing this? Is not a major problem as I can leave the date format for now, but I would prefer to have the date format as dd/mm/yy once its fixes.
Last edit: 10 years 1 week ago by krileon.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 1 week ago #251857 by nant

philgsy wrote: I may have identified a small big with the validation of a date field when new users are trying to register on my website:

CB Version 2.0.1

Field Title: Date Of Birth
Field Name: cb_dateofbirth
Field Type: Date
Required: Yes
Read Only: Yes
Parameters/Validation: Minimum Year: 1900
Parameters/Validation: Maximum Year: -18

When user trying to register they're getting an error message:
Error - Date Of Birth: This field is required!

My CB Configuration is set to a date format of dd/mm/yy

If I change the configuration to mm/dd/yy then it works!

Any ideas what is causing this? Is not a major problem as I can leave the date format for now, but I would prefer to have the date format as dd/mm/yy once its fixes.


Please download and install the latest nightly build and retest:

www.joomlapolis.com/downloads/doc_details/640-community-builder-nightly-build

Please Log in or Create an account to join the conversation.

  • philgsy
  • philgsy
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
10 years 1 week ago #251859 by philgsy
That works better with the nightly build.

I assume this fix get rolled up into the next release version?

Thanks

Phil

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 1 week ago #251860 by nant

philgsy wrote: That works better with the nightly build.

I assume this fix get rolled up into the next release version?

Thanks

Phil


Yup, that's the idea - thanks for your feedback.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum