toggle switch with 2 values?

[ad_1]

Hello @sloganwp

Thank you very much for using our plugin. The value of the unticked checkbox (or switch off) is zero. So, you can insert a checkbox field with only one choice and enter the number 1 as its value. In the equation implementation, you can consider the field value 1 as the annual fee, and the monthly fee otherwise.

For example, assuming you have the equation fieldname1+fieldname2, and the fieldname3 is the checkbox field. If the user ticks it (its value is one, annual fee) you want to increase the sum twelve times. The hypothetical equation could be implemented as follows:

SUM(fieldname1, fieldname2)*IF(fieldname3, 12, 1)

Best regards.

 

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