• Resolved Graicifyd

    (@graicifyd)


    Does summary field accept HTML codes?

    I have a summary field and the ‘Fields to display on summary’ is set to: ‘fieldname11,fieldname72’

    but before and in between the values I want to add some texts.

    For example:

    ‘The result is (fieldname11) and (fieldname72)

    which will fill up the fieldnames,

    ‘The result is 9 and 10’

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @graicifyd

    In these cases, you should emulate the summary by yourself with an “HTML Content” field instead of the “Summary” controls.

    For example, you can insert an “HTML Content” field in the form with the content:

    
    The result is <span class="value-a"></span> and <span class="value-b"></span>
    

    And then you can insert a calculated field in the form as an auxiliary, with the equation:

    
    (function(){
    jQuery('.value-a').html(fieldname11|r);
    jQuery('.value-b').html(fieldname72|r);
    })()
    

    Best regards.

    Thread Starter Graicifyd

    (@graicifyd)

    Thank you so much, this worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WRAP SUMMARY FIELD WITH EXTRA TEXT’ is closed to new replies.