Smart sections use a special tag that starts with "#$". They are not shown on form.
They support calculations and conditions on regular fields like Smart Fields. The difference is that they can show or hide part of the template (like a paragraph or some text that appears based on some condition or value is higher than x).
You can use Smart Section not only to show/hide part of document but also to show / hide whole pages.
Syntax
{#$ CONDITION} Part of document you want to show/hide {/}
Supported operators:
== (Equal),
!= (Not Equal),
> (More Than)
< (Less Than)
&& (And)
|| (OR)
Show Part of document based on condition
Name: {name}
Type: {type}
{#$ type == 'student'}
User {name} claims that is student
{/}
Show Part of document based on conditions
Name: {name}
Type: {type}
Age: {age}
{#$ type == 'student' && age > 18}
Member: {name} claims that is adult student
{/}
{#$ type == 'student' || type == 'employed'}
Member: {name} claims that is student or employed
{/}
{#$ age < 18}
Member is underage
{/}
{#$ type != 'student'}
Member is not a student!
{/}
Show Part of document if field contains value
If you want to show / hide part of document if field contains (part of text) specific text you can use "contains" and "notcontains" filter
{name} // Field name (assuming it's 'Alicia, Mark, Alfred')
{#$ name | contains:'Ali' }
This part ofdocument will appear if text contains 'Ali' (It will show as 'Ali' is part of 'Alicia, Mark, Alfred')
{/}
{#$ name | notcontains:'Ali' }
This part of document will appear if text does not contains 'Ali'
{/}
{#$ name | contains:'John' }
This part of document will appear if text contains 'John'
{/}
{#$ name | notcontains:'John' }
This part of document will appear if text does not contains 'John'
{/}