Hello @bakhshi
You should to use a conditional operation in the equation to evaluate the mathematical operation only if the condition is satisfied, as follows:
IF(AND(fieldname2|r != '', fieldname5|r != '', fieldname9|r != ''), fieldname2+fieldname5, '')
Best regards.
thanks
For Calculate Button
I ticked the option:
display “calculation in progress” indicator
But it doesn’t show
The calculation is in progress!
Hello @bakhshi
The equations in your form are evaluated fast, for example, for server side equations, or equations that call external services, the evaluation would be slower, and in this case the plugin show a progress animation.
Best regards.
I used this code:
IF(AND(fieldname2|r != ”, fieldname5|r != ”, fieldname9|r != ”), fieldname2+fieldname5, ”)
It is ok!
But it does not display the required field message
When you don’t select one of the fields!
Hello @bakhshi
You should enter the following piece of code as the onclick event of the calculate button:
jQuery(this.form).valid();
Best regards.
thank you very much indeed.