I wonder if it is possible.
I have two fields: 1 dropdown and 1 date. On a click on the button I would like to connect those 2 fields and check if the values make sense.
Details:
- On dropdown user selects the race which they want to participate: running 1k, 5k, 10k
- On Date field user selects the date when event happens
If user selected 10k race, selected tomorrow as a date and then clicked the button, error message should be shown.
I know I could probably do it via conditions during the data selection, but I’m curios exactly about validation when button is clicked. Is it possible somehow? Thanks