<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Allow empty birthdate for Users</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118575503" />
  <subtitle>Allow empty birthdate for Users</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118575503</id>
  <updated>2026-05-14T03:08:07Z</updated>
  <dc:date>2026-05-14T03:08:07Z</dc:date>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118604507" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118604507</id>
    <updated>2020-02-27T11:09:41Z</updated>
    <published>2020-02-27T11:09:41Z</published>
    <summary type="html">Thank you for all the answers and the interesting discussion.&lt;br /&gt;&lt;br /&gt;For my case I will probably try to change the &amp;#34;default&amp;#34; date from 1970-01-01 to something else like 1800-01-01. </summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2020-02-27T11:09:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118602712" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118602712</id>
    <updated>2020-02-26T18:12:14Z</updated>
    <published>2020-02-26T18:12:14Z</published>
    <summary type="html">Yep, birthday can be disabled (enabled by default in my 7.2.x build) at Instance Settings &amp;gt; Users &amp;gt; Fields&lt;br /&gt;&lt;em&gt;Enable Gender&lt;/em&gt; and &lt;em&gt;Autogenerate Screen Names&lt;/em&gt; booleans are also there. &lt;br /&gt;See attached.</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2020-02-26T18:12:14Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118595392" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118595392</id>
    <updated>2020-02-26T11:03:15Z</updated>
    <published>2020-02-26T11:03:15Z</published>
    <summary type="html">It&amp;#39;s still there. Under Instance settings.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-02-26T11:03:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118594676" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118594676</id>
    <updated>2020-02-26T09:26:03Z</updated>
    <published>2020-02-26T09:26:03Z</published>
    <summary type="html">Back in 6.2, birthday and gender could be disabled &lt;a href="https://docs.liferay.com/ce/portal/6.2/propertiesdoc/portal.properties.html#Fields"&gt;through portal.properties&lt;/a&gt;. &lt;br /&gt;This is no longer in the list for 7.2, making me expect that these properties have moved to OSGi configuration values. I currently have no time to hunt for them, but maybe the possibility for configuring this makes you confident enough to go look for it. I try to remember this and look for it later, if nobody preempts me.</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2020-02-26T09:26:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118591738" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118591738</id>
    <updated>2020-02-25T20:10:39Z</updated>
    <published>2020-02-25T20:10:39Z</published>
    <summary type="html">Well, I actually had a client who showed the birthdays of the week in his portal. Without the age, of course, just that somebody has a birthday. So, we wouldn&amp;#39;t have needed a year, just the month and day. It&amp;#39;s terribly hard to make everybody happy ...&lt;br /&gt;And it is actually a bit annoying that the gender field is a boolean. We have customers in the medical area who need the gender &amp;#34;unspecified&amp;#34;. Also, with the transgender movement and everything, maybe this field should actually be changed to something more flexible.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-02-25T20:10:39Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118591397" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118591397</id>
    <updated>2020-02-25T20:05:22Z</updated>
    <published>2020-02-25T20:05:22Z</published>
    <summary type="html">I don&amp;#39;t think it is possible to distinguish afterwards. The only idea I have is to create a UserLocalServiceWrapper and change the birthdate in addUserWithWorkflow to something impossible like 1800-01-01. Assuming that you don&amp;#39;t create users with a birthdate, of course.&lt;br /&gt;And then ask the users gently to set their birthdate.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-02-25T20:05:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118590260" />
    <author>
      <name>Lee Jordan</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118590260</id>
    <updated>2020-02-25T19:11:11Z</updated>
    <published>2020-02-25T19:11:11Z</published>
    <summary type="html">Nothing productive to add but one of our users was furious that we had allowed his birthday to be seen in Liferay and that he hadn&amp;#39;t given consent for us to have it. His birthday was Jan 1st 1970. Legit story. Why do we have birthdate in liferay? If for audience targeting just a year would do. Same for gender.</summary>
    <dc:creator>Lee Jordan</dc:creator>
    <dc:date>2020-02-25T19:11:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118587917" />
    <author>
      <name>Syed Ali</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118587917</id>
    <updated>2020-02-25T15:47:25Z</updated>
    <published>2020-02-25T15:47:25Z</published>
    <summary type="html">Please share the Liferay Version you are using</summary>
    <dc:creator>Syed Ali</dc:creator>
    <dc:date>2020-02-25T15:47:25Z</dc:date>
  </entry>
  <entry>
    <title>Allow empty birthdate for Users</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118575502" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118575502</id>
    <updated>2020-02-24T10:37:04Z</updated>
    <published>2020-02-24T10:37:04Z</published>
    <summary type="html">In one of our portals we allow users to register themselves. We also ask for the birthdate, but that is not a required field.&lt;br /&gt;&lt;br /&gt;If you do not enter a birthdate, it seems that Liferay saves 1970-01-01 as the birthdate. Is it possible somehow to differ between users who do not have a birthdate and users which are really born on 1970-01-01? What would be the best approach here?</summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2020-02-24T10:37:04Z</dc:date>
  </entry>
</feed>
