HTML Snippet Subform population help
I have a subform in my form that allows me to select multiple comments from a comment library. When I try to call the comments in an HTML Snippet, it only populates the first comment. How do I get the it to populate all comments for that specific record?
What I have
- <%{%>
- <p>
- Foundation Comments:
- <ul>
- <%
- source = Inspection_Report[ID != 0];
- get_detail = Comments[ID == input.source.Foundation_Comments.Foundation_Comments];
- for each response in Comments[ID == input.source.Foundation_Comments.Foundation_Comments]
- {
- Foundation_Comments_value = get_detail.Comment.getall();
- %>
- <li>
- <%=Foundation_Comments_value%>
- </li>
- <%
- }
- %>
- </ul>
- <br>
- </p>
- <%
- }%>
I'm new at this and learning through Google/Youtube, so explain it to me in easy terms please.