• Resolved ttate81

    (@ttate81)


    I am trying to implement a quote calculator where the total calculation is given at the end once a user submits their information. Does anyone know how I can implement this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Dmytro – WPMU DEV Support

    (@wpmudevsupport16)

    Hi there @ttate81

    Do you mean you want to show the calculation result only after the user submits the form?

    If that’s the case, you would want to have one form for the user input, with , and a Calculation field set to Hidden in that field’s Settings.

    Then select “Redirect user to a URL” in that 1st form’s Behavior settings, and use query parameters in the URL to feed the data to a 2nd form.

    In that 2nd form, have a hidden field that pulls its value from the query parameter for the Calculation field from the 1st form. Then display that data in HTML field formatted however you like.

    Here’s an example of that I set up for another user a few days ago. ??
    https://newcoolsite.ml/form-test-4/

    The calculation there is simple: (Number 1 + Number 2) x Number 3

    If you’d like to set that example up on your site to have a play and edit to suit your needs, here are the 2 forms I used:
    Form 1: https://pastebin.com/BZFEHDTT
    Form 2: https://pastebin.com/8QcX7UQ6

    Cheers!
    Patrick

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @ttate81 ,

    We haven’t heard from you for a while now, so it looks like you no longer need our assistance.

    Please feel free to re-open this ticket if needed.

    kind regards,
    Kasia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calculations not hidden’ is closed to new replies.