I have some complex validation logic that I implement manually in gform_post_paging. On the last page we have Terms and an Opt-In checkbox that the client requires be automatically checked.
The checkbox is checked by default when the field has no Conditional Logic. No sweat there.
The issue seems to be when CL is dependent on a Hidden Field that I attempt to set manually using
$_POST[‘input_43’] = 1;
The checkbox is no longer checked by default.
Am I going about this the right way? I think I need to be able to programmatically tell the following page whether or not to show the fields by setting a hidden field value they’re dependent on.