• Resolved johncaspar

    (@johncaspar)


    Hi,

    I was wondering if it was possible to make the calculate button inactive until every other field is filled? And well how would I do that?

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

    (@codepeople)

    Hello @johncaspar

    Thank you very much for using our plugin. You can use a button field with the “Button” option selected as its type instead of the “Calculate” option and evaluate the equations only if the validation rules are satisfied. The button onclick event could be:

    if(VALIDFORM(this.form)) EVALEQUATIONS(this.form);

    Now, if your fields are configured as required, the equations are evaluated only if the required fields were filled previously.

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘How to make the button inactive’ is closed to new replies.