Josh,
I went ahead and added a function like this:
add_filter( 'caldera_forms_render_get_field', function( $field ) {
//Change your field ID here
if( 'fld_1612298' == $field[ 'ID' ] ){
$field[ 'config' ][ 'default' ] = get_field( 'field_name' );
}
return $field;
});
Whereas fld_1612298
is my caldera form’s field and my_website
is a ACF field. I am not seeing the URL being added to the custom field neither in the post edit screen not the front end. Could you tell me if I am missing anything here?
-
This reply was modified 7 years, 6 months ago by vbk100.