URL parameter - checkbox - preloading form

Hi,

I’d like to pass information over URL parameters into a form. Thanks to another post I could get most of it done already but struggle to do the same for checkboxes.

This is the form where the “business types” and “software, hardware or both” should be checked.

My code so far looks like this and I am pretty sure the lines with ‘#Software’ and ‘#Hardware’ are wrong.

For checkboxes, you don’t want to set the value, but the checked state.

See javascript - Setting "checked" for a checkbox with jQuery - Stack Overflow