# Cant access Date Picker value

**URL:** <https://community.weweb.io/t/cant-access-date-picker-value/17895>\
**Category:** How do I?\
**Created:** [April 23, 2025, 2:31am UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895 "2025-04-23T02:31:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [April 23, 2025, 2:31am UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/1 "2025-04-23T02:31:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/c6e0ce04745bac2cce20f065870bef064475c160.png)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/9d34db21125e88b4e0e7e8aea70e104cd84a0f1f.png)

I have a date picker and a “submit date” button, i want to save / update the value only when user clicks on the submit Done button.

How do i do that, as i can’t access the date picker value for some reason?

I can’t use form data value - seems to only register input boxes as form fields.  
I can’t use “on change event value” as this is happening on clicking the submit button and not happening on changing of the date (not an on change workflow).

So how can I save my new date?

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [April 23, 2025, 11:46am UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/2 "2025-04-23T11:46:38Z")

</div>

Hi @raelyn, you could just reference .value in the submit workflow to send it to the backend.

 ![date](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/3/33116b089258946ab5d34ce45b6b357a48cbe568.png)

---

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [April 23, 2025, 12:16pm UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/3 "2025-04-23T12:16:48Z")

</div>

Sorry where do I find this reference value?

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [April 23, 2025, 1:18pm UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/4 "2025-04-23T13:18:46Z")

</div>

When you add the date picker, it comes with a variable that stores its value, you can just send it to your backend, you don’t need the value to be inside form data. For now, form data only supports text inputs. We are working to improve that.

 ![datepicker](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/4/4cfdb7b4ede443e36cda5a3a3c2204aa6385c975.png)

---

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [April 23, 2025, 4:02pm UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/5 "2025-04-23T16:02:54Z")

</div>

To send the value I need to do it via a workflow, right? How / where to access that value?

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [April 24, 2025, 10:00am UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/6 "2025-04-24T10:00:15Z")

</div>

In the formula editor:

 ![formula](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a632d37f37edcc1474ad453925186f1494b13e78.png)

If it’s inside a repeating group, you need to map the event value to an object.

---

<div class="post-metadata">

**Author:** ![raelyn](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raelyn/32/2803_2.png) [@raelyn](https://community.weweb.io/u/raelyn)\
**Post date:** [April 24, 2025, 3:12pm UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/7 "2025-04-24T15:12:23Z")

</div>

Yes, it is in a repeating group, so the value is not exposed like your screenshot. What do you mean by map? How to get the value?

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [April 25, 2025, 9:56am UTC](https://community.weweb.io/t/cant-access-date-picker-value/17895/8 "2025-04-25T09:56:44Z")

</div>

Hi @raelyn

We briefly covered this here: [Dialog (Modal, Alert, Sheet) | Documentation](https://docs.weweb.io/elements/dialog.html#retrieving-data-from-form-inputs)

There are many tutorials in the community as well on how to achieve that: [Are form variables not visible while the form is in a collection item? - #6 by dorilama](https://community.weweb.io/t/are-form-variables-not-visible-while-the-form-is-in-a-collection-item/1138/6)

Let us know if it’s clear.
