• Resolved arczil

    (@arczil)


    is it possible to add a different comments in text area or wherever to the calculation results?

    • This topic was modified 4 years, 9 months ago by arczil.
Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @arczil

    Yes, of course, that’s possible.

    For example, assuming you have the equation: fieldname1*fieldname2 and you want to display the text, The result is ... into an “HTML Content” field.

    – Insert an “HTML Content” field in the form with a div tag where display the result as its content:

    <div class="result-here"></div>

    – Edit the equation as follows:

    
    (function(){
    var result=fieldname1*fieldname2;
    jQuery('.result-here').html(CONCATENATE('The result is ', result));
    return result;
    })()
    

    Best regards.

Viewing 1 replies (of 1 total)

The topic ‘comment to calculation results’ is closed to new replies.