Dropdown Calculator | WordPress.org

[ad_1]

Hello @klingbeil

Thank you very much for using our plugin. I’ll try to describe the process with a hypothetical example.

Assuming you have the dropdown field fieldname1 with two choices, “A” and “B”, and the number fields fieldname2 and fieldname3. If the user selects the “A” choice in fieldname1, you want to calculate fieldname2/(100fieldname3). And if the user selects the “B” choice, calculate (fieldname1fieldname2)/100.

In this hypothetical case, you can insert a calculated field in the form and enter the equation:

IF(fieldname1 == 'A', fieldname2/(100*fieldname3), (fieldname1*fieldname2)/100)

Best regards.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer