Hi Anchaal, i am familiar with setting up conditional logic, just not sure how to do for dates. Possible for conditional logic to work for dates for example if within certain date range show/hide another field?
thanks. Great plugin and strong support.
Hi Christie,
I am also in need of this feature and created a plugin using the following code from the link but it doesn’t seem to work.
Appreciate your advice please? thanks.
Regards.
————————–
<?php
/*
* Plugin Name: Testing
*/
/**
* Set a Caldera Forms checkbox field to have mutltiple defaults selected
*
* Requires: Caldera Forms 1.6 or later
*
* Important: This only works with checkbox fields
*/
add_filter( ‘caldera_forms_render_get_field’, function( $field, $form ){
if( ‘fld_9641225’ === $field[ ‘ID’ ] ){
$field[ ‘config’ ][ ‘default’ ] = array(
‘Yes’, ‘No’
);
}
return $field;
}, 10, 2 );
?>