How to send form Checkbox text in Mail if “Off” is chosen ?

[ad_1]

I have an element in the form <label> [checkbox subscribe-to-offers default:1 “subscribe for free offers.|Yes”] </label>

And this sends Yes to the mail variable correctly. But when the checkbox is turned off, its sends a blank. How can I get the off state to send some text?

I tried <label> [checkbox subscribe-to-offers default:1 “subscribe for free offers.|Yes|No“] </label> but not working.

In mail: Newsletter: [subscribe-to-offers]

  • This topic was modified 1 day, 3 hours ago by Bassaw.
  • This topic was modified 1 day, 3 hours ago by Bassaw.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer