# Default form values sometimes missing for date

**URL:** <https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405>\
**Category:** Report a Bug\
**Created:** [December 28, 2020, 11:54pm UTC](https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405 "2020-12-28T23:54:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avery\_Rawlek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/avery_rawlek/32/1694_2.png) [@Avery\_Rawlek](https://community.glideapps.com/u/Avery_Rawlek)\
**Post date:** [December 28, 2020, 11:54pm UTC](https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405/1 "2020-12-28T23:54:08Z")

</div>

For setting a **default** date in a form, the date will only show up if that field is added as a **visible component** on the details screen I’m clicking the form link from. It will not work if the “next Sunday” (which is the default calculated value for date in the form) component is absent or not visible.  
This default date is calculated from a MATH column.

See GIF for details.

 ![form bug](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/a/aa5a7358400483a14705f0a9c2bb92f6a1629cc3.gif)

 ![form bugt](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/7/573468b8bcab4ba9f044c9cdace7555835f4face.png)

---

<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:** [December 29, 2020, 3:57am UTC](https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405/2 "2020-12-29T03:57:39Z")

</div>

Is this a default date that can be changed by the user, or will it always be a date that 7 days later and shouldn’t be changed at all?

---

<div class="post-metadata">

**Author:** ![Avery\_Rawlek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/avery_rawlek/32/1694_2.png) [@Avery\_Rawlek](https://community.glideapps.com/u/Avery_Rawlek)\
**Post date:** [December 29, 2020, 5:18am UTC](https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405/3 "2020-12-29T05:18:01Z")

</div>

It needs to be modifiable, but also having the default value pre-set to +7 days can help the user avoid making duplicates or mistakes.

---

<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:** [December 29, 2020, 6:12pm UTC](https://community.glideapps.com/t/default-form-values-sometimes-missing-for-date/20405/4 "2020-12-29T18:12:59Z")

</div>

This looks like it may be a bug. I can duplicate the issue when the column used for the default value is a math column. I’m guessing that the ‘date plus 7 days’ column is not being calculated on the screen because it is not being displayed, so when it’s used as the default value it doesn’t show as the default because it’s not calculated. Yes, it’s visible in the data editor, but I’m guessing a lot of that stuff actually happens on the fly only when viewing the data. Might be something to send to support.
