Prerequisites
- A Data Collection is setup with at least one item.
- Check the List View and Detail View layouts to ensure they are setup to display some of your custom fields.
With this little bit of code, you can dynamically display fields based on whether or not the values are empty. For example, let's say you have a field called Birthday. If the value of Birthday is empty, then DO NOT render the HTML. If it's not empty, then proceed.
{% if "{{Birthday}}" != "" -%}
<p>User's Birthday: {{Birthday}}</p>
{% endif -%}
Comments
0 comments
Please sign in to leave a comment.