Forum Replies Created
-
I ‘ve Posted this code to the text field , I now want to use the same function for the radio
function dhvc_form_text_default_value_custom($default_value,$dhvc_form,$name){ if($name == '{your field name}' && $dhvc_form->ID =='{your form Id}'){ $default_value = '{your_value}'; } return $default_value; } add_filter('dhvc_form_text_default_value', 'dhvc_form_text_default_value_custom',10,3);
in reply to: ID values
Viewing 6 posts - 1 through 6 (of 6 total)