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:
Yes, that’s possible. The plugin includes the “Customize Form Design” attribute in the “Form Settings” tab. It is a CSS editor with syntax highlighting and error checking. You can assign a custom class name to the field you want to modify, and personalize the field appearance as needed. Please watch the video by visiting the following link:
Actually I have two choices. When I select choice1 I get is value and a new fieldset is displayed. When I select choice2 I get only the choice2 value.
Is there a way to get the same result? i.e.: when the switch is YEARLY the new fieldset is displayed and values is choice1. when the switch is MONTHLY the values is choice2. TIA
Furthermore, you can associate a different value to each choice you can use in the equations by using conditional statements or conditional operations as I did in a previous entry.
SUM(fieldname1, fieldname2)*IF(fieldname3, 12, 1)
Best regards.
Viewing 7 replies - 1 through 7 (of 7 total)
The topic ‘toggle switch with 2 values?’ is closed to new replies.