Scroll
jQuery calculator based on webform
Forums
Good afternoon, Ivan!
I watched your video — very engaging and interesting. But I didn’t find an example to solve my task.
I wrote on your forum — but no one is answering. Maybe you could advise how to implement it.
There is a taxonomy with names and fields with data — need to multiply by a value entered by the user and display in fields.
Name Value 1 Value 2 and Value 3
Product1 12.2 13.5 45.1
Product2 46.1 41.7 5.8
Product3 1.8 3.5 0.5
About 100 products.
This name is displayed in a dropdown list.
There is a field for the user to enter a value, for example, 245.
There are 3 fields.
Total1, Total2, Total3.
When selecting from the list, the values from the product should be multiplied by the value entered by the user and divided by 100.
For example, selected Product 2:
Total1 = (46.1 * 245) / 100
Total2 = (41.7 * 245) / 100
Total3 = (5.8 * 245) / 100
Name Value 1 Value 2 and Value 3
Product1 12.2 13.5 45.1
Product2 46.1 41.7 5.8
Product3 1.8 3.5 0.5
About 100 products.
This name is displayed in a dropdown list.
There is a field for the user to enter a value, for example, 245.
There are 3 fields.
Total1, Total2, Total3.
When selecting from the list, the values from the product should be multiplied by the value entered by the user and divided by 100.
For example, selected Product 2:
Total1 = (46.1 * 245) / 100
Total2 = (41.7 * 245) / 100
Total3 = (5.8 * 245) / 100
And a save button.
Please advise how to implement this task.
Please advise how to implement this task.