• Resolved teknoge3k

    (@teknoge3k)


    I don’t know if there’s a basic tutorial on this somewhere or if I just need to hire someone to do this. What I need is this:
    4 sliding fields going from 0-15 and each line having a different increment value. Then at the end have a box showing the sum of all 4 fields combined.

    e.g line 1: slide between 0-15 (user picks 5 for instance), has a increment value of $7
    line 2: slide between 0-15 (user picks 7 for instance), has a increment value of $10
    line 3: slide between 0-15 (user picks 1 for instance), has a increment value of $15
    line 4: slide between 0-15 (user picks 10 for instance), has a increment value of $20
    Box at bottom displays $350

    I hope that made sense.

    Can anyone please help me with this or point me in the proper direction? TYIA!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @teknoge3k,

    Your project is very simple, I’ll describe the implementation process with an example:

    – Inserts the four slider fields in the form, that I will call: fieldname1, fieldname2, fieldname3 and fieldname4 (the fields names are assigned dynamically, so, you should use the corresponding fields names in your form) entering the number 0 as the “min” attribute, and the number 15 as the “max” attribute in each of them.

    – Finally, insert a calculated field with the equation:

    
    fieldname1*7+fieldname2*10+fieldname3*15+fieldname4*20
    

    and that’s all.
    Best regards.

    Thread Starter teknoge3k

    (@teknoge3k)

    Awesome, thank you so so so much!! That did exactly what I needed it to do. Two more small questions.

    1. On the form at the top it has “Number” with a prefilled field of “5” then says “The field below will show the double of the number above.” below that. That was there by default and I’m scared things will break if I delete it. Is it save to delete all of that, since it was prefilled and there when I created the form?

    2. How can I add the $ sign before the number on the calculated field? (in the actual value it produces)

    Again, thanks so much!

    Thread Starter teknoge3k

    (@teknoge3k)

    Actually I figured out the $ sign, just need to know about deleting the top part. ??

    Plugin Author codepeople

    (@codepeople)

    Hello @teknoge3k,

    You can edit the existent forms or create new ones if you want. If you don’t need some fields in the form, simply delete them, and if they are used in the equations associated to the calculated fields, you should edit these equations.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Totally new to this’ is closed to new replies.