Hide field error formula | WordPress.org

Hello. I made a field with radio buttons ({sums}), when you click on one of which, a numeric field appears ({sumnum}). I use the formula {product_price} + {des} + {scr} + {sums} + {sumnum}. The problem is that when the field {sumnum} is hidden, the amount on the page is shown as “-“, only when the hidden field is opened will the price appear.

In the {sums} field, I have an option with value = 0. For the {sumnum} field, I have the expression specified ( {sums} == 0 ). If option with value = 0 is selected, the field {sumnum} becomes visible.

Do I have a problem with the formula? Can you tell me?

  • This topic was modified 2 hours, 18 minutes ago by leokoltm.

The page I need help with: [log in to see the link]


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.

Your Advertisement Here