I have a field with two checkboxes: Value 1 and value 2. I use the Dynamic Population feature and set the second checkbox (value) as checked by including the parameter in the URL (i.e. domain.com/?checkboxgroup=value2).
However, in the form, the first checkbox is enabled by default and I want to disable it.
Is it possible to deactivate the first checkbox (also via ‘dynamic population’)?
Or is it better to set the first checkbox not enabled and enable both checkboxes with the dynamic population feature?
If you want to clear the defaults when dynamic population is used you can use the gform_pre_render filter in the theme functions.php file, in a custom plugin, or with a code snippets plugin e.g.