Title: Mandatory date
Last modified: September 19, 2022

---

# Mandatory date

 *  Resolved [enricobt](https://wordpress.org/support/users/enricobt/)
 * (@enricobt)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/mandatory-date/)
 * Hi,
    I set up a calendar booking page test at the link below. I noticed that 
   if users don’t select any date from the calendar, the form module sends the data
   but the date is set to January 1st, 1970. Is there a way to block form submission
   if users haven’t selected the desired date first?
 * Thanks
    Enrico
    -  This topic was modified 3 years, 8 months ago by [enricobt](https://wordpress.org/support/users/enricobt/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmandatory-date%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/mandatory-date/#post-16024843)
 * Hi [@enricobt](https://wordpress.org/support/users/enricobt/).
 * Yes, you can disable this option – “Show Form before select the days”. You can
   find it on the Booking calendar Themes page, General settings tab.
 * Thanks.
 *  Thread Starter [enricobt](https://wordpress.org/support/users/enricobt/)
 * (@enricobt)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/mandatory-date/#post-16028129)
 * Hi, Thanks for the replay.
    I would need to know if there is any specific shortcode
   just for the selected date that I insert into the email sent by plugin. Regards
   Enrico
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/mandatory-date/#post-16029225)
 * Hi [@enricobt](https://wordpress.org/support/users/enricobt/).
 * Unfortunately, there isn’t such a specific shortcode.
 * Thanks.

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

The topic ‘Mandatory date’ is closed to new replies.

 * ![](https://ps.w.org/booking-calendar/assets/icon-128x128.png?rev=1307202)
 * [Booking calendar, Appointment Booking System](https://wordpress.org/plugins/booking-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-calendar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/mandatory-date/#post-16029225)
 * Status: resolved