• Resolved leokoltm

    (@leokoltm)


    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 years, 3 months ago by leokoltm.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Krzysztof Pi?tkowski

    (@wckalkulator)

    Hidden field is not taken to the formula and it cannot be calculated, so your result is ?-?. I will think about set hidden fields to 0 by default.
    At this moment you can change to conditional expression and write: if sums == 0 then use formula with sumnum, else use formula without sumnum.

    Thanks for reporting that issue.

    Thread Starter leokoltm

    (@leokoltm)

    It helped. Thanks

    • This reply was modified 2 years, 3 months ago by leokoltm.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide field error formula’ is closed to new replies.