Answers.Body: <p>This was a bug. I have created this Pull-Request to fix it: <a href="https://github.com/civicrm/civicrm-core/pull/31338" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/31338</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-22T20:04:32.853Z
Answers.LastActivityDate: 2024-10-22T20:04:32.853Z
Answers.UserDisplayName: Coleman
Body: <p>I have Birth Date on a form created in FormBuilder and the default date picker includes time as well as date. I can't hide the time, and the form fails to submit if time is empty (the field isn't required so it only fails if there's a date with no time).</p>
  <p>On WordPress and CiviCRM 5.78.0</p>
  <p>Can I remove this? Is it a bug?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-03T12:36:28.157Z
Comments.Text: That sounds like a regression. I will debug...
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-17T13:20:43.610Z
Comments.Text: @Coleman did you make any progress on this?
Comments.UserDisplayName: Rose Lanigan
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-18T21:52:44.907Z
Comments.Text: @Coleman , if it helps, I did incremental updates on my test installation of Civi and this issue appeared after I went from 5.77.1 to 5.78.0. Before that, the update from 5.76.2 to 5.77.1 was clean meaning I didn't receive any errors however when I updated to 5.78.0, I received the "afform_scanner". I'm not sure if the update to 5.78.0 broke it or if the afform_scanner error did.
Comments.UserDisplayName: Bloodstripe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-22T20:06:14.407Z
Comments.Text: Thanks. Can you please review this fix: https://github.com/civicrm/civicrm-core/pull/31338
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-23T01:42:17.003Z
Comments.Text: Looks good and it passed some quick tests in my playground. Thanks for jumping on this so quickly.
Comments.UserDisplayName: Bloodstripe
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-23T03:36:59.270Z
Comments.Text: You're welcome. Thanks for jumping in to review.
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-25T07:37:20.623Z
Comments.Text: @Coleman much appreciated, it's also working on my WP site :)
Comments.UserDisplayName: Rose Lanigan
Tags: <formbuilder><datepicker>
Title: Birth Date insists on time in FormBuilder
ThreadText: # Birth Date insists on time in FormBuilder
  
  (Asked by: username_0 on 2024-10-03)
  
  I have Birth Date on a form created in FormBuilder and the default date picker includes time as well as date. I can't hide the time, and the form fails to submit if time is empty (the field isn't required so it only fails if there's a date with no time).
  
  On WordPress and CiviCRM 5.78.0
  
  Can I remove this? Is it a bug?
  
  **Tags:** formbuilder, datepicker
  
  > **Comments:**
  > **username_1**: That sounds like a regression. I will debug...  
  > **username_0**: @username_1 did you make any progress on this?  
  > **username_2**: @username_1 , if it helps, I did incremental updates on my test installation of Civi and this issue appeared after I went from 5.77.1 to 5.78.0. Before that, the update from 5.76.2 to 5.77.1 was clean meaning I didn't receive any errors however when I updated to 5.78.0, I received the "afform_scanner". I'm not sure if the update to 5.78.0 broke it or if the afform_scanner error did.  
  > **username_1**: Thanks. Can you please review this fix: https://github.com/civicrm/civicrm-core/pull/31338  
  > **username_2**: Looks good and it passed some quick tests in my playground. Thanks for jumping on this so quickly.  
  > **username_1**: You're welcome. Thanks for jumping in to review.  
  > **username_0**: @username_1 much appreciated, it's also working on my WP site :)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-10-22. Score: 4
  
  This was a bug. I have created this Pull-Request to fix it: <https://github.com/civicrm/civicrm-core/pull/31338>
  
  
  ---
  
  