Thanks Ahmad for your help! I’m trying, but I’m still not at the finish line.
Therefore, the data for dropdowns must be populated from the database (using a dataset or code). It cannot be done manually. Not every football team (adults, juniors…) has the same year…
https: //www.wix. com/corvid/reference/$w/dropdown/value
Here it is written that "If an element is connected to a dataset, setting the element’s value in code does not set the value of the connected field in the dataset. That means if you use the dataset to perform a submit, the value changed in code is not reflected in the submitted item. "
Second problem: how to display the correct values in dropdowns when the dynamic page is first loaded.
Before the visitor changes the values of dropdowns, the values should correspond to the address of the dynamic page (when I see the list of players “adult” and the year “2019” - the same should show the values of dropdowns)
I’m trying the last code. I like the idea of not using the button, but redirecting visitors whenever the value in the dropdown changes.
I created an onChange () event handler, but it says “parsing error: unterminated string constants”
Thank you for your time, I appreciate any help