[buddypress-trac] [BuddyPress Trac] #8989: Date Selector Profile Field Type with a Relative Range works in whole years only

buddypress-trac noreply at wordpress.org
Wed Sep 6 09:51:35 UTC 2023


#8989: Date Selector Profile Field Type with a Relative Range works in whole years
only
------------------------------+-----------------------------
 Reporter:  niftythree        |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Extended Profile  |    Version:  11.3.1
 Severity:  normal            |   Keywords:
------------------------------+-----------------------------
 Hello,

 We've noticed that when a Profile Field, with the Date Selector type is
 set to a Relative Range, the range only works in whole years. For example,
 if the relative range is set to 18 years ago, it will allow any date from
 the year 2005 to be selected, rather than only allowing anything 18 years
 before today's current date. We use a date selector with a relative range
 as a date of birth profile field to ensure that only users over the age of
 18 years can register an account. However, a user can register an account
 with the birthdate of 10/10/2005, for example, even though they're
 currently only 17 years old.

 Can the Relative Range Date Selector Profile Field work from the current
 date, instead of whole years only?

 Thanks.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8989>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list