Gravity Wiz // Gravity Forms // Force Field with Default Value to Refresh on Save & Continue
/**
* Gravity Wiz // Gravity Forms // Force Field with Default Value to Refresh on Save & Continue
*/
add_action( 'gform_submission_values_pre_save', function( $values, $form ) {
// update "12" to the ID of your desired form
if( $form['id'] == 12 ) {
// update "4" to the field ID that should be refreshed on save & continue
$values[4] = false;
}
return $values;
}, 10, 2 );