Change Date Picker's Value on the basis of a dropdown's value

Hi All,

As mentioned in the below image, i have a dropdown containing duration like yesterday, last 7 days, last 14 days etc.

The repeating group is being loaded on the basis of the date picker’s values. Now, when i change the dropdown’s value i would like the date pickers value also to change.

For Eg: When i change the dropdown to last 7 days I want the date picker A’s value to change into Current date time (+days) - 7 and when i change the dropdown again to yesterday it should change to current datetime (+days) -1

Any help in this would be great.

@fayewatson @NigelG @keith

1 Like

Hi @sriram, you can do this by adding conditions to the Date Pickers.

“When dropdown’s value is “last 7 days” (this is case sensitive) > initial content = current date (+days): -7”

Do that for all of the dropdown options on both your date pickers (I assume you’re creating a range)


Gaby at Coaching No Code Apps (formerly Coaching Bubble)

Courses & Products, Tutorials, Private Coaching, and High-level Development

Start Learning Today :mortar_board:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.