• Resolved omicito

    (@omicito)


    Hi,

    This is great plug-in!

    I have some issues with required fields.
    On my form, user has to insert numbers into numbers field which are tagged as required.
    After pressing button, the result is going to be shown no matter if one or more number field is empty, calculation is going to be done like 0 was entered.

    So, is it possible that, if one or more number fields are empty, after pressing button it won’t show result, it will just make those empty fields red with note “Required field”?
    Thanks in advance!

    https://www.ads-software.com/plugins/calculated-fields-form/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The validation rules are checked in the form submission, and not in the evaluation of the equations, but you can to use a conditional statement to check the fields values in the equation, for example if your equation is fieldname1+fieldname2, you can modify it like follow:

    IF(AND(fieldname1, fieldname2), fieldname1+fieldname2, ”)

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘There is no "Field required" error’ is closed to new replies.