• Resolved morriscey

    (@morriscey)


    Hey There,

    Back again with an issue.

    I have the calculation setup to run on a button press, however it doesn’t require the required fields to run.

    I also need it to calculate and send the email on one button press. any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @morriscey

    If you want the calculate button validates the fields, you should configure it as follows:

    1. Select the button and change its type from “Calculate” to “Button”

    2. Enter the following piece of code as its onclick event:

    if(jQuery(this.form).valid()) EVALEQUATIONS(this.form);

    To receive an email in the background when the button is pressed, you have two alternatives. You can install the “Data Collector” plugin (https://cff-bundles.dwbooster.com/product/data-collector), or you can enable the “CFF – SERVER SIDE Equations” add-on and implement the equation that sends the email as describe the following blog post:

    https://cff.dwbooster.com/blog/2019/08/04/partial

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Email button / calculation’ is closed to new replies.