Hi! You can use the Wix Code function “onItemClick” to trigger an action when an item in a dynamic page is clicked. You can then use the “navigate” function to redirect the user to a new page. You can Create a dynamic page with a repeater that displays a list of dates. Add a button to the repeater item and give it an “onClick” trigger. In the “onClick” trigger function, use the “getCurrentItem” function to get the data for the clicked item. Use an “if” statement to check the value of the “date” field for the clicked item. If the “date” field matches a certain value, use the “navigate” function to redirect the user to the appropriate URL.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Date picker URL | 0 | 57 | January 5, 2023 | |
| Link Dropdown Value to a Dynamic Page | 8 | 332 | May 26, 2019 | |
| Let button generating URLs dependent on selected values | 3 | 173 | April 24, 2018 | |
| How to use dropdown menu to jump to other pages? | 13 | 1229 | January 14, 2018 | |
| Button using the date selection as a parameter for the url | 2 | 191 | June 14, 2019 |