- This topic is empty.
February 28, 2012 at 5:54 pm #36887Andy HowellsParticipant
I’m putting together a calculator for a customer that is based on 3 user inputs that output a bunch of numbers. It needs to have multiplication, subtraction, division and addition all in one form as the output fields relate to eachother.
I’m looking to get it setup to populate in real time as the user submits information.
Does anyone have any scripts/ideas where to begin – I’ve obviously googled but it’s a jungle out there so some straight advice would be awesome.July 6, 2012 at 1:01 am #105502bezucatParticipant
Thanks to all involved in this thread, this is just what I’m after but I need to ask the following:
How do I assign a custom value to each input title/section/field?
I need to calculate the total (add together, as in the example code), but each input item will have a different value, not 1 – i.e some will be 1, others will be 2.5 or 3, dependent on field/question being answered in the form.
So how can I add this predetermined custom value to the existing code, so that it will tally up the total answered fields at the end?
ThanksSeptember 8, 2014 at 12:58 pm #182197profipixParticipant
Great discussion and just what I was looking for!
Andy, would you show the snippet of the code on how you’re using .toFixed(2)?
I need to use that too and I can’t figure it out.. Thanks a bunch!