Home › Forums › Quform WordPress › Multiply the values of two drop down fields
- This topic has 4 replies, 2 voices, and was last updated 4 years ago by
MOVOX.
- AuthorPosts
- August 7, 2022 at 2:58 pm #34541
MOVOX
ParticipantHi, I have two drop down fields:
– Drop-down field “A” has multiple selections each with a $ value entered in the element settings related Value field; and
– Drop-down field “B” has a few selections each with a number value (e.g. 1, 1.5, 2, 2.5, 3 etc.) entered in the element settings related Value field.I need to multiply the selected value from field “A” with the selected value from field “B” (e.g. A x B); and
Display the total value in two separate HTML fields which are located on two different pages within the form.I’ve checked your forums but cannot find any reference where the numbers to be multiplied are already entered in the element settings value fields.
Hoping you can assist.
August 8, 2022 at 11:32 am #34543Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 8, 2022 at 1:46 pm #34544MOVOX
ParticipantThanks Ally, code works. What changes if I need to display 2 decimal points?
August 9, 2022 at 11:30 am #34545Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
August 11, 2022 at 7:50 am #34551MOVOX
ParticipantThanks Ally, code works perfectly.
- AuthorPosts
- You must be logged in to reply to this topic.
