Title: Date &#8211; no future data allowed
Last modified: April 11, 2025

---

# Date – no future data allowed

 *  Resolved [kosmosuitgevers](https://wordpress.org/support/users/kosmosuitgevers/)
 * (@kosmosuitgevers)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-no-future-data-allowed/)
 * On my checkout page, I’m asking buyers to add their birthday. But since the ‘
   Date’ field could be used for all dates (for instance preferred start date of
   a subscription), it is possible for buyers to add future dates. With birthdates,
   that doesn’t make sense. Is there a way how I can prevent people of filling in
   future dates? 
   Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [sebastianrybacki](https://wordpress.org/support/users/sebastianrybacki/)
 * (@sebastianrybacki)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-no-future-data-allowed/#post-18415039)
 * Hello,
 * Thank you for reaching out to us!
 * Sure, to prevent customers from selecting future dates for the birthday field,
   you can follow these steps:
    1. Go to **WooCommerce** → **Checkout Fields**.
    2. Edit the settings of the date field you added.
    3. Navigate to the **Advanced** tab of that field.
    4. In the **Days after** field, set the value to **0**.
    5. Save the changes.
 * This will restrict the selection of future dates for the birthday field. I’ve
   also attached a screenshot of the settings for your reference:
   [https://snipboard.io/qyvdB4.jpg](https://snipboard.io/qyvdB4.jpg)
 * Please let me know if you need any further assistance!
 * Best regards,
 *  Thread Starter [kosmosuitgevers](https://wordpress.org/support/users/kosmosuitgevers/)
 * (@kosmosuitgevers)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/date-no-future-data-allowed/#post-18415131)
 * Thank you very much for your answer and clear guide on how to change this! I’ve
   been able to make those adjustments, everything is working as it should. Thanks
   again!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Date – no future data allowed’ is closed to new replies.

 * ![](https://ps.w.org/flexible-checkout-fields/assets/icon-256x256.gif?rev=2522628)
 * [Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager](https://wordpress.org/plugins/flexible-checkout-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-checkout-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-checkout-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-checkout-fields/reviews/)

## Tags

 * [Birthday](https://wordpress.org/support/topic-tag/birthday/)
 * [calendar](https://wordpress.org/support/topic-tag/calendar/)
 * [date](https://wordpress.org/support/topic-tag/date/)
 * [future dates](https://wordpress.org/support/topic-tag/future-dates/)

 * 2 replies
 * 2 participants
 * Last reply from: [kosmosuitgevers](https://wordpress.org/support/users/kosmosuitgevers/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/date-no-future-data-allowed/#post-18415131)
 * Status: resolved