Dynamically Displaying Today’s Date and Time in Repeating Groups

A repeating group displays a list of items from your database. This list is generated by a search, filtering data based on type and specific criteria. You can limit displayed items using the ‘items until #’ expression with a numerical value.

Adding a date directly into the data source won’t work. Start and end dates act as search filters, either fixed or dynamic. Custom states, triggered by button clicks, offer a simple way to manage these dates.

Location filtering works similarly using custom states. A state variable stores the dropdown’s selected location. If “All Locations” is chosen, leave the state empty. This single data source method, with one unified search, simplifies design and boosts efficiency compared to multiple conditional data sources.

Keep your current data source and apply location, start date, and end date filters directly within the search, using custom state values. Workflows should update these states when users select locations and dates. This dynamically updates content to reflect the chosen “today’s date and time” within the repeating group.

Leave A Comment

Name*
Message*