# How to prevent submission finish time is before start time

**URL:** <https://community.glideapps.com/t/how-to-prevent-submission-finish-time-is-before-start-time/80934>\
**Category:** Ask for Help\
**Created:** [March 24, 2025, 3:46pm UTC](https://community.glideapps.com/t/how-to-prevent-submission-finish-time-is-before-start-time/80934 "2025-03-24T15:46:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [March 24, 2025, 4:05pm UTC](https://community.glideapps.com/t/how-to-prevent-submission-finish-time-is-before-start-time/80934/2 "2025-03-24T16:05:38Z")

</div>

If you’re using a “[custom form](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014)”, you can add this condition to your button block to prevent users from submitting.

However, if you are using a native forum or edit screen, the only way to do this would be to add a hint text that displays when end date is before start date and then use this CSS trick to prevent form submission when that hint text is visible:

> [@prohibited Hacking a Form Submit Button using CSS](https://community.glideapps.com/t/hacking-a-form-submit-button-using-css/69878):
>
> wave Hey fellow Gliders! I recently came across this post by @Himaladin, and I was so impressed that I had to create a video that walked through this hack step by step—it’s incredibly clever! Using a visibility condition, a custom class, and the :has() CSS pseudo-class, you can control whether or not users can submit a form regardless of required fields! Yes, you’ll need to be on the Business plan in order to use this hack because it requires the use of CSS, but it’s a great way to control …

---

_[View the full topic](https://community.glideapps.com/t/how-to-prevent-submission-finish-time-is-before-start-time/80934)._
