Title: Manual input
Last modified: May 11, 2026

---

# Manual input

 *  Resolved [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [4 weeks, 1 day ago](https://wordpress.org/support/topic/manual-input-2/)
 * Hello,
 * I configured the date field with a minimum value of “current date + 2 days”.
   
   The date picker correctly prevents selecting a date earlier than that.
 * However, after selecting a valid date, I can manually change the value to an 
   older date (e.g. by typing it), and the form still submits successfully without
   any validation error.
 * It seems the minimum date restriction is only applied to the date picker UI, 
   not validated on form submission.
 * Is it possible to add server‑side or submit‑time validation so the form returns
   an error when the selected date is earlier than the configured minimum?

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

 *  [Rebecca](https://wordpress.org/support/users/yeeaddons/)
 * (@yeeaddons)
 * [4 weeks ago](https://wordpress.org/support/topic/manual-input-2/#post-18905375)
 * Hello [DODO Internet](https://wordpress.org/support/users/studioviv/),
 * You can add the `readonly` attribute to this input so that users cannot modify
   its value.
   Thank you so much
 *  Thread Starter [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [4 weeks ago](https://wordpress.org/support/topic/manual-input-2/#post-18905429)
 * Hello [@yeeaddons](https://wordpress.org/support/users/yeeaddons/) ,
 * Thanks for the tip! That is exactly what I needed. This problem is fixed.

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmanual-input-2%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/restrict-date-for-contact-form-7/assets/icon-256x256.png?
   rev=3221942)
 * [Advanced Datepicker - Restricts Date for Contact Form 7](https://wordpress.org/plugins/restrict-date-for-contact-form-7/)
 * [Support Threads](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restrict-date-for-contact-form-7/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * Last activity: [4 weeks ago](https://wordpress.org/support/topic/manual-input-2/#post-18905429)
 * Status: resolved