Title: Checkbox Custom Message
Last modified: July 16, 2024

---

# Checkbox Custom Message

 *  Resolved [ecobeesishan](https://wordpress.org/support/users/ecobeesishan/)
 * (@ecobeesishan)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/checkbox-custom-message/)
 * Greetings, 
   I am trying to change the value of checkbox according to its checked
   status. I want to change the message to “Yes/No” instead of 1 and 0. Is it possible
   to change this with free version of the plugin? The changes should be reflected
   in the email too. Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Dina S.](https://wordpress.org/support/users/themehighsupport/)
 * (@themehighsupport)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/checkbox-custom-message/#post-17894737)
 * Hi,
 * Unfortunately, there is no direct option available in our plugin to provide an
   OFF value for the checkbox field. However, you can add the below filter function
   in your child theme’s functions.php to achieve this requirement.
 * `function thwcfe_checkbox_field_off_value($off_value, $name){
   if($name === 'field_name'){
   $off_value = 'no';}return $off_value;}add_filter('thwcfd_checkbox_field_off_value','
   thwcfe_checkbox_field_off_value', 10, 2);In the above code, please replace the**_
   field\_name_** with your corresponding Checkbox field name.Also, please provide**_“
   Yes”_** value in the **_“Default Value”_** inside the Checkbox field’s Basic 
   Info tab.Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Checkbox Custom Message’ is closed to new replies.

 * ![](https://ps.w.org/woo-checkout-field-editor-pro/assets/icon-256x256.gif?rev
   =3479964)
 * [Checkout Field Editor (Checkout Manager) for WooCommerce](https://wordpress.org/plugins/woo-checkout-field-editor-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-checkout-field-editor-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-checkout-field-editor-pro/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dina S.](https://wordpress.org/support/users/themehighsupport/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/checkbox-custom-message/#post-17894737)
 * Status: resolved