Hi, I like how the form builder works. My customers receive confirmation after the form submitted, that is great!. But for checkboxes and radiobuttons they see FALSE or TRUE values. Is there a way to replace the default values with YES and NO?
Thank you,
Helen
Hey Helen,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
Yes, it’s provided
Hi,
I tested the form with my email and I have seen the problem.
Give us some time to check out why that is happening please.
Thank you very much
Best regards,
Basilis
Hi Basilis, do you have any update for this issue?
Thank you
Hi,
Thank you for the update. Please use the following filter in the functions.php file.
add_filter('avf_form_message', 'avf_form_message_mod_checkbox', 10, 3);
function avf_form_message_mod_checkbox($message, $new_post, $form_params) {
$message = str_replace('true', 'Yes', $message);
$message = str_replace('false', 'No', $message);
return $message;
}
Best regards,
Ismael
Thank you so much, Ismael! It works perfect!
Hi,
Great, glad you got it working. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
Rikard
Yes, you can close the topic. Thank you!