[Forminator Pro] Submit a form and only after that show calculation results

I am trying to build an online quote builder using Forminator. The point of the online quote builder is to capture leads. Thus I would like Forminator to submit the form contents before showing the calculation results. Is this possible?

Even greater would be if the calculation (quotation) results were to be sent to the user by e-mail. Is it possible with WPMU Dev tools? (I have paid subscription to them).

  • Nithin Ramdas
    • Support Wizard

    Hi ossiman ,

    The calculations are also part of a form. At the moment, I’m afraid there isn’t any out of the box setting to only submit part of a form. All the contents will be submitted once you submit the form.

    I’m checking with the developer to see whether there is any workaround that could be suggested. Will keep you posted once I get further feedback.

    Regards,
    Nithin

  • Nithin Ramdas
    • Support Wizard

    Hi ossiman ,

    Got feedback from the developer, I’m afraid there isn’t any workaround that could be suggested to submit the form in parts. Forminator will reset the form once submitted, so the calculations couldn’t be shown after submitted.

    Even greater would be if the calculation (quotation) results were to be sent to the user by e-mail.

    This is possible with some a custom workaround. Please do let us know if you are looking to implement this feature so that we could check further regarding a solution.

    Regards,
    Nithin

  • Nithin Ramdas
    • Support Wizard

    Hi ossiman ,

    I got another update from our Second Level Support(SLS) team, and they’ll be checking further whether there is any workaround as a whole for the both feature you have requested.

    Please note as stated in my previous reply, Forminator doesn’t support suction an action out of the box, so it isn’t an easy task. However, our SLS team would like to check and see whether they could help you out with this.

    Please do note that if our SLS team find that it’ll require too much custom coding, then we might redirect you to custom development.
    https://wpmudev.com/docs/getting-started/getting-support/#support-community-tips

    Will keep you posted once we get further feedback asap.

    Regards,
    Nithin

  • Mukul Chawla
    • Product Manager

    Hey ossiman

    Looking at your request, this should be possible out of the box with Forminator. So basically you don’t want to show the calculated value of quotation until the form is submitted right? And want the ability to either show the calculated amount after the form is submitted on-site or email that value to your visitors. If that’s correct then both of this is already possible. Following are the steps to achieve this:

    1. You must be using a calculation field to calculate the quotation price based on different fields on your form right? Under the calculation field settings, there is an option to hide the calculation field on your form. This will turn the calculation field into a hidden field and your visitors won’t be able to see the calculated amount on your website as they make selections on your form. Attached is a screenshot of the setting.
    [attachments are only viewable by logged-in members]

    2. Now that you have made your calculation field hidden, the first step is done. Your visitors can’t see the calculated amount while submitting the form. In this step, we’ll configure the form to show the quotation price (calculation field value) to your visitors after they have submitted the form using the success message that is shown after form submission. For this, go to the Behaviors tab on your form and look for the Submission Behavior setting. Under this setting, choose the After Submission setting to hide form. This hides the form and just shows a success message after form submission. Now, within the success message, you can use the merged tag to insert the value of the calculation field just like I did in the attached screenshot.
    [attachments are only viewable by logged-in members]
    Note that on your site, the {calculation-1} merged tag will be replaced with the calculation value and your visitors will see the quotation inside the success message after the form submission.

    3. Now to send the quotation over the email, you can do something similar to #2. Go to the Email Notifications tab and create a new email notification that would be sent to the email address you collect on your form. In the email body, you can again use the merged tag option to add the calculation value to the email. Attached is the screenshot of an example email I created:
    [attachments are only viewable by logged-in members]

    I have created a sample form to demonstrate the complete process which is hosted on https://mukul-chawla.wpmudev.host/quotation-after-form-submission/. You could try submitting the form to see the quote after the form submission and also get an email containing the quote. I’ll be attaching the export of this form so you can import it on your website and check how I did it.

    Hope this will be helpful for you. If you have any further questions, we’ll be happy to help you.

    Regards,
    Mukul Chawla

  • Mukul Chawla
    • Product Manager

    Hey ossiman

    Glad to hear that the above solution would work for you. Regarding the formatting issue you mentioned above, we already have an improvement task to allow formatting the calculated numbers in the calculation field. I’ll add your vote on that task to raise its priority though not ETA on that as of now.

    Regards,
    Mukul Chawla