Title: Not working with Calculated Fields Form Plugin
Last modified: September 3, 2019

---

# Not working with Calculated Fields Form Plugin

 *  Resolved [confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-calculated-fields-form-plugin/)
 * Hi,
    I am using the Calculated Fields Form plugin as a booking form on my website.
   I am trying to open a popup to display the Terms and Conditions but I cannot 
   get it to open from the link click in within the form. If I put the same link
   within the normal page text it works ok. Have you any advice or a possible workaround
   for this? Thanks for your time.

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

 *  [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * (@sygnoossupport)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-calculated-fields-form-plugin/#post-11896781)
 * Dear [@confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/),
 * We checked the Calculated Fields Form plugin and found that there’s an option
   for setting an Onclick event for the button.
 * Go to the Field Settings -> Button -> OnClick event and add the popup with this
   code like we have done in the screenshot below:
 *     ```
       var popupObj = SGPBPopup.createPopupObjById(1);
       popupObj.prepareOpen();
       ```
   
 * Just set your popup Id number instead of 1 in the brackets.
 * Then go to your popup settings and select “Set by CSS class” in the Events section
   of your popup and select the page for the popup in the Display rules section.
 *  Thread Starter [confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/)
 * (@confusedneedhelp)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-calculated-fields-form-plugin/#post-11925235)
 * Works perfectly.
    Thanks for your quick response!
 *  [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * (@sygnoossupport)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-calculated-fields-form-plugin/#post-11925797)
 * Dear [@confusedneedhelp](https://wordpress.org/support/users/confusedneedhelp/),
 * Happy to help you! 😉
 * Would you mind taking a few seconds to share your positive review for us?
    It
   will help us to grow and the users to be more confident before choosing our service.
 * Here’s the link, please:
    [https://wordpress.org/support/plugin/popup-builder/reviews/](https://wordpress.org/support/plugin/popup-builder/reviews/)
 * Thank you in advance)

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

The topic ‘Not working with Calculated Fields Form Plugin’ is closed to new replies.

 * ![](https://ps.w.org/popup-builder/assets/icon-128x128.gif?rev=2698840)
 * [Popup Builder - Create highly converting, mobile friendly marketing popups.](https://wordpress.org/plugins/popup-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/popup-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/popup-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/popup-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/popup-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/popup-builder/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Sygnoos Support](https://wordpress.org/support/users/sygnoossupport/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/not-working-with-calculated-fields-form-plugin/#post-11925797)
 * Status: resolved