# How to set an end date input picker to start date by default

**URL:** https://community.glideapps.com/t/how-to-set-an-end-date-input-picker-to-start-date-by-default/72138
**Category:** Ask for Help
**Created:** [March 28, 2024, 8:09pm UTC](https://community.glideapps.com/t/how-to-set-an-end-date-input-picker-to-start-date-by-default/72138 "2024-03-28T20:09:11Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [March 28, 2024, 8:37pm UTC](https://community.glideapps.com/t/how-to-set-an-end-date-input-picker-to-start-date-by-default/72138/2 "2024-03-28T20:37:51Z")

</div>

AI is really good at making things up. It has it’s uses, but it’s not always perfect. This is the same technology that can produce images of people with 16 fingers and limbs growing out of their head. Take it with a grain of salt. Both of the results you provided don’t make any sense within Glide.

Short answer is that it’s not possible to set a default on the fly within a native form. You can set it on the way in, but not while you are in the form. In most other cases, setting a value requires an action called by the user doing something.

Your best bet is to create a custom form instead of a native form. It’s more work, but gives you a little more flexibility. You still won’t be able to set a default end date based on a start date unless you have an additional button to write the start date to the end date…and you won’t have full control to restrict which dates a user can choose. What you will have with a custom form is the ability to create your own submit button with a custom action that first does some validation. If the end date is before the start date, then you can show a warning message instead of adding a row.

> [@How do I create a custom form?](https://community.glideapps.com/t/how-do-i-create-a-custom-form/25014):
>
> I’m just dropping this here so I have something to refer people to when they ask. This is a simple concept app (copyable), that demonstrates the following techniques: Building custom forms for adding and editing list items (as an alternative to the native forms provided by Glide) Preventing duplicate new entries using [User Specific Columns](https://docs.glideapps.com/all/reference/data-editor/user-specific-columns) and [Relations](https://docs.glideapps.com/all/reference/data-editor/computed-columns/relation-column) Enforcing mandatory input items The use of visibility conditions and user specific booleans to control user flow There is nothing particular…

---

_[View the full topic](https://community.glideapps.com/t/how-to-set-an-end-date-input-picker-to-start-date-by-default/72138)._
