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

    (@codepeople)

    Hello @cattivodes

    In this case, the summary should be defined by yourself, and not using the summary control.

    For example, if you insert a “HTML Content” field in the form with a DIV tag as its content where display the custom summary:

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

    And then insert a calculated field in the form with an equation similar to:

    
    (function(){
    var summary = '';
    if(0<=fieldname1) summary += '<div><b>The label of the field here</b>: '+fieldname1+'</div>';
    
    if(0<=fieldname2) summary += '<div><b>The label of the field here</b>: '+fieldname2+'</div>';
    
    if(0<=fieldname3) summary += '<div><b>The label of the field here</b>: '+fieldname3+'</div>';
    
    jQuery('.summary-here').html(summary);
    })()
    

    Of course, the fields’ names and their labels are hypothetical.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide Summary Item if Value = 0’ is closed to new replies.