insert dynamic value to hidden field.Which API ?
-
Hi,
Because my value is dynamic. I try to insert dynamic value to hidden field via API ,but I don’t know how to do?This is testing code,but it didn’t work.
add_filter( 'caldera_forms_update_field_hidden','insert_value');
function insert_value($field){
$value="This is dynamic value";
$field['value']=$value;
return $field;
}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘insert dynamic value to hidden field.Which API ?’ is closed to new replies.