Change a select field when using a link

Hello together,

I’m not sure if right here with my problem.
Right now i have a Client who is running to different sites
On the first site the visitors get information’s about an upcoming event. Here my client links to the second site for buying the tickets.

Is it possible to change a select field by using a link?

First site -> User clicks on the link for a normal ticket -> gets redirected to the second page -> automatically changes the select field to "normal ticket’

Thanks
Florian

If you set a parameter on the URL, you could grab it with JS on the second site and add a selected attribute to the select depending on this parameter.

You need to pick up on a query string in the URL passed to the second site. This should help you.

You can do it with PHP too.

Thanks you two! It helped me a lot. It works now :slight_smile: