Cant access Date Picker value

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?

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

Sorry where do I find this reference value?

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.

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

In the formula editor:

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

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?

Hi @raelyn

We briefly covered this here: Dialog (Modal, Alert, Sheet) | Documentation

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

Let us know if it’s clear.