i am just a member but i found out how to do this… visit my website https://itechjungle.com/services and see it in function. i will explain using how my website is showing so that you can easily see my website and understand what am talking about.
to do this you first add the drop down elements.
– then create the default titles. eg USD, GBP, Testing..
-then put a value for the default titles. eg for USD=1, GBP=2, Testing=3.
-then use the output to create your calculations. put all the necessary output that you require.
-then on the element that you want to show when someonone selects the drop down, you get the id of that element.
-then you create another output element which will now be the element that will be viewed on your website.On my website mine is labelled “amount you receive….”
-then you need to employ simple microsoft excel skills. to have the dropdown appear like a formular do this… this is now where everything matters.
-in the output element that you created you need to use the if function. the formula would appear something like this
and if function is like this
IF(Condition, value if condition is true, value if condition is false)
in the calculator it would be like this now..
IF(element_4_9=1, element_4_2, IF(element_4_9=2,element_10, IF(element_4_9_=3,element_15,0)))
-element_4_9 represents the dropdown element.
-the numbers that element_4_9 is equals to rep the drop down titles ie USD, GBP and Testing…
-the other element id represent my output elements that have their formulars.
i’l explain what the if formular means.
so the IF formular basically means that if element4_9 that is equals 1(the USD dropdown), then it should bring the value found in element_4_2. the next IF means that if element 4_9 that is equals to 2 (the GBP dropdown), then it should bring the value found in the element_10.
-the last IF that you want to put must be complete. ie
element_4_9_=3 (the testing.. dropdown), then it should bring element_15 if the field is blank then it brings 0.
– the brackets at the end represent all the IF function in the equation.
visit my site https://itechjungle.com/service and see the calc in operational.
i hope it helps..