Need a page refresh everytime a variant changes to get the correct code to load

I’m very happy that you help me! But I have some trouble understanding what you mean.

I think in my case it is using radio buttons. But I don’t know where to check the class name. And how i find out if the field has the same name, i don’t know either.

Can you explain it to me a bit more precisely?

Thanks