• Resolved mr_sjostedt

    (@mr_sjostedt)


    Howdy!

    Just installed “Jazzy Forms” into my website, and was hoping for that it should be easy like “Input label name” and “Quantity” and then what for example just 1 costs.

    Sooo my question is..

    We’re playing with our minds and I’m offering service in peoples gardens per hour.

    For example, my customer could visit my website, and get a live-price quote without contact and wait for my answer..

    ~~~~FORM~~~~
    Label name: [INPUT (X) HOUR] ( X = 1*500 ) 500$ / hour
    Label name: [INPUT (Y) FLOWERS] ( Y = 1*50 ) 50 $ / flower
    Label name: [INPUT (B) MILES] ( B = 1*10 ) 10$ / mile from HQ to garden

    Price: [560 $] ( X+Y+B = xyb)
    ~~~~~~~~~~~~

    IMAGE BACKOFFICE

    How to get ID + Formula + Factor into an output?

    Thanks for answer, I’m completely lost atm.. =D
    Best regards,

    https://www.ads-software.com/plugins/jazzy-forms/

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

    (@jazzigor)

    Hi,

    the image you provide reveals several errors:

    1) you use the ID “vaggyta” twice, once for the input element and then for the formula. IDs should be unique.
    2) you use a placeholder “a” as a factor in the input element. That’s not valid, you can only use numeric values there.

    But never mind. The correct solution is far simpler than that. Just create 3 input elements, with IDs x, y and b respectively. Use factors 500, 50 and 10 respectively. Add an output field. Don’t forget to set its ID to something, like price. Formula: x+y+b

    The “factor” fields are for your convenience only. If you choose not to use them you can set up a formula for price like: 500*x + 50*y + 10*b

    You can see the example in action here: https://goo.gl/N9zHxY

    Hope this helps.
    Igor

Viewing 1 replies (of 1 total)
  • The topic ‘Formula questions, link ID with Output etc’ is closed to new replies.