Need to display conditional bullet points, new lines etc

  1. Ben Warner

    Can you provide more information on what you're trying to achieve?

CommentAdd your comment...

1 answer


    Yes you can bind html to text displays using the angular directive "ng-bind-html"

    See the example below.

    1. I have put these three fields in my form:

    2. In the data field calculation rule, I will put some conditional logic to show some dynamic markup.

    3. In the text display I will click the source button and type in the HTML required to use ng-bind-html.

    Note: the span I am using must contain some content, otherwise the rich text editor will "clean" the element out when you switch back from the source view. Not to worry as the ng-bind-html will replace anything inside the span.

    Preview of the form:



      CommentAdd your comment...