I have created a drop down list from a collection connecting it to a dataset ("materials7chem") and the labels and values connected to Title (Text). I have placed a submit button next to the drop down list and set the link to connect to the dynamic page (Title).
when I use the drop down it always takes me to the first item on the list.
I understand that I need to create an onClick event. what would the code look like so it will lead to the correct item from the drop down?
how can I get the same result without a submit button but rather with onChange event?
the list is connected to the "materials7chem" collection on the "Title" row and the link to the dynamic page's field key is "link-materials7chem-_id"