Trying to make a form to have a radio button selected when the page is called with a certain parameter. I already tried several dynamically option and examples found here and on the internet but no luck untill now.
I now have a website with several forms, these forms almost always start with a 'option 1' and 'option 2' choice. Depending on the choice a different part of the form is show.
Now I want to call a page and already set 'option 1' selected so that the user doesn't need to click that anymore.
So how do I achieve that? I already tried so much but I can't get the that radio button to be selected using ?my_parameter=val solution.
Hope someone can help me out!
Ps: does it matter that I am using AJAX for the form.. and should I?