• Have you ever successfully used the [cfdb-save-form-post] integration with the Calculated Fields Form (CFF) plugin?

    My form performs a calculation to total a donation amount and then redirects to Paypal to accept payment.

    The CFF form action is empty so I assumed I should place the [cfdb-save-form-post] code on that form page. However after reloading that page, I do not see any code being inserted – should I? Also after submitting that form, I do not see any results on the CFDB submissions page. I know that the CFF plugin is still behaving as usual/expected, just not sure what I should be looking for with using that [cfdb-save-form-post] shortcode.

    What should I expect to see with this shortcode using that plugin?

    Thanks for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    If you place [cfdb-save-form-post] on that page and reload it, nothing will happen. You will have to submit the form. The CFF form action may be empty, but that doesn’t mean that there isn’t CFF javascript code that changes what the form does when it submits.

    [cfdb-save-form-post] is intended for plain html forms. In such forms, when you submit a form, it submits to a landing page. You put the short code on the landing page where it can grab the data.

    A lot of form plugins have their forms submit via an ajax instead of submitting to another page (although they might then transition to a landing page immediate after, but that landing page does not receive the form data). So the shortcode will not work in these cases.

    I looked at CFF plugin based on your question. It looks like the free version does not give you any way to submit the form and you have to buy an upgrade to do that. I don’t know how the form submission is handled.

Viewing 1 replies (of 1 total)

The topic ‘Using [cfdb-save-form-post] with Calculated Fields Form’ is closed to new replies.