Toggle checkbox on and off on update of form

My developer has asked me to post this on the forum, as to how to toggle a checkbox on and off.

How can I toggle a check box off after submission and after email notifications…the form id is 3 and the field id is 205…

This is the function I am thinking should do it, but not sure how to actually change the value

Be like

function gf_reset_email_trigger($entry, $form)

{

// Reset rgar ($entry, 205) check box to 0 so it is off

}

add_action(‘gform_after_submission_3’, ‘gf_reset_email_trigger’, 10, 2);

Any help would be really appreciated

Hi Mark. Can you explain the whole flow and the reason for this setting of a checkbox? There may be an easy way to accomplish it. Thank you.