Title: Toggle button not working
Last modified: January 27, 2022

---

# Toggle button not working

 *  Resolved [multinnov](https://wordpress.org/support/users/multinnov/)
 * (@multinnov)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/)
 * Hello,
 * I’ve been trying to use the cost calculator for a day now and it’s really good
   already.
    My problem is that on the block I made, the toggles buttons don’t work
   like they do in the preview. I associated a value to each of them but in the 
   total it doesn’t add up like I inputed in the formula below. 17500 + (range_field_id_3*
   92) + toggle_field_id_4 + toggle_field_id_5 + dropDown_field_id_7
 * It actually work in the preview but not on the actual website page. The range
   field works perfectly fine.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftoggle-button-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Hope StylemixThemes](https://wordpress.org/support/users/hopestylemixthemes/)
 * (@hopestylemixthemes)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15308898)
 * Hi [@multinnov](https://wordpress.org/support/users/multinnov/)
 * Thank you for reaching out!
 * Could you please provide your calculator settings in screenshots also?
 * regards
 *  Thread Starter [multinnov](https://wordpress.org/support/users/multinnov/)
 * (@multinnov)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15309909)
 * [https://ibb.co/Vq0Ykyw](https://ibb.co/Vq0Ykyw)
    [https://ibb.co/jvFS0hn](https://ibb.co/jvFS0hn)
   [https://ibb.co/gSkLfCV](https://ibb.co/gSkLfCV) [https://ibb.co/XF5yM1n](https://ibb.co/XF5yM1n)
 * Do you need anything else ?
 *  Plugin Support [mgordon7](https://wordpress.org/support/users/mgordon7/)
 * (@mgordon7)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15314138)
 * Hi,
 * Thank you for the screenshots, we do appreciate it!
 * Could you please kindly clarify whether the Custom Calculator form displays on
   your Front-end side or not in general? Thank you in advance!
 * Cheers
 *  Thread Starter [multinnov](https://wordpress.org/support/users/multinnov/)
 * (@multinnov)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15314172)
 * I have 2 toggle buttons on the calculator that is at the bottom of the page [https://multinnov.com/stereo2/](https://multinnov.com/stereo2/)
   
   1 should increase the total by 950 € and the other should increase it by 420 
   €. Problem is neither of them work on the actual page. They do work when I open
   the calculator with the preview button in the pluggin page though.
 * I tried replacing them with a radio button with the same result. works in preview
   but not on the actual page.
 * I have two other input in the calculations a dropdown list and arange field that
   work perfectly fine on the other hand.
 * What can I do ?
 *  [rhenier1](https://wordpress.org/support/users/rhenier1/)
 * (@rhenier1)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15315038)
 * I am experiencing the same problem.
 * The toggle button works when calculating in the preview mode, but not on the 
   live website.
 *  [rhenier1](https://wordpress.org/support/users/rhenier1/)
 * (@rhenier1)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15318244)
 * Any update on this?
 * I like the plugin so far and I am quite eager to buy the full version, but cannot
   until this is fixed.
 * Hopefully this would be a quick fix for your team 🙂
 *  Plugin Support [EricStylemixThemes](https://wordpress.org/support/users/ericstylemixthemes/)
 * (@ericstylemixthemes)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15325860)
 * Hello [@rhenier1](https://wordpress.org/support/users/rhenier1/) [@multinnov](https://wordpress.org/support/users/multinnov/)
 * Thank you for reaching out!
 * I created the sample calculator using the latest version of the plugins. I used
   Drop Down, Range Button, Toggle Button, Total fields to recreate the problem (
   [Screenshot](http://joxi.ru/8Anl4KqToYwn8m)). There are my settings:
 * Drop Down ([Screenshot](http://joxi.ru/vAW8kBnTBpGydr))
 * Range Button ([Screenshot](http://joxi.ru/xAeop4MIb3LZOm))
 * Toggle Button ([Screenshot](http://joxi.ru/bmoKDlgS7awjqm))
 * Total field ([Screenshot](http://joxi.ru/D2PnawLCBQvYyr))
 * The calculator is displaying the same result on live mode ([Screenshot](http://joxi.ru/52apGwlTgLNv0m))
   as preview mode ([Screenshot](http://joxi.ru/l2Zq7wkURKBagm)). Please try to 
   create the same calculator on your website. To get clear results, please disable
   third-party plugins and activate the default theme of WordPress (for example,
   Twenty Twenty-One). This will help you to understand what exactly is causing 
   the problem.
 * If the problem persists, please share screenshots from the console.
 * Kind regards
    -  This reply was modified 4 years, 4 months ago by [EricStylemixThemes](https://wordpress.org/support/users/ericstylemixthemes/).
 *  [rhenier1](https://wordpress.org/support/users/rhenier1/)
 * (@rhenier1)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15336421)
 * Hi there.
 * I have found the plugin to stop working when the following two plugins are enabled:
 * Complianz | GDPR/CCPA Cookie Consent
 * and
 * NitroPack
 * I will rerun the configs for these two plugins to see if it makes a difference.
 *  [rhenier1](https://wordpress.org/support/users/rhenier1/)
 * (@rhenier1)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15336473)
 * I am happy to report that the calculator is now working as expected. Thanks a
   lot, will be buying the full version now!
 *  [rhenier1](https://wordpress.org/support/users/rhenier1/)
 * (@rhenier1)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15337071)
 * Without any change in plugins, this has stopped working again, also in private
   browsers. Strange. Will remove the toggle buttons for now and replace with quantity
   field.
 *  Plugin Support [mgordon7](https://wordpress.org/support/users/mgordon7/)
 * (@mgordon7)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15340539)
 * Hi [@rhenier1](https://wordpress.org/support/users/rhenier1/)
 * We have previously provided the calculator form for you as an example. We have
   provided screenshots as well that there is no any restriction on our testing 
   end. We recommend you to re-check once again by deactivating all of your site
   extra and caching plugins (it is recommended to exclude server caching modules
   as well).
 * Cheers

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Toggle button not working’ is closed to new replies.

 * ![](https://ps.w.org/cost-calculator-builder/assets/icon-256x256.png?rev=3525305)
 * [Cost Calculator Builder](https://wordpress.org/plugins/cost-calculator-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cost-calculator-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cost-calculator-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/cost-calculator-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cost-calculator-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cost-calculator-builder/reviews/)

 * 11 replies
 * 5 participants
 * Last reply from: [mgordon7](https://wordpress.org/support/users/mgordon7/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/toggle-button-not-working/#post-15340539)
 * Status: resolved