Skip to main content
Code formatting
Source Link
Derek Hogue
  • 17.4k
  • 2
  • 27
  • 42

Notifications use conditionals the same way as within a template tag. to use {name} as an example, you would do the following:

{if name}{name}{/if}

{if name}{name}{/if}

This would show the value if one was entered and be disregarded if the field was left blank. However, you might want to also include a label.

{if name}Name: {name}{/if}

{if name}Name: {name}{/if}

Notifications use conditionals the same way as within a template tag. to use {name} as an example, you would do the following:

{if name}{name}{/if}

This would show the value if one was entered and be disregarded if the field was left blank. However, you might want to also include a label.

{if name}Name: {name}{/if}

Notifications use conditionals the same way as within a template tag. to use {name} as an example, you would do the following:

{if name}{name}{/if}

This would show the value if one was entered and be disregarded if the field was left blank. However, you might want to also include a label.

{if name}Name: {name}{/if}
Source Link

Notifications use conditionals the same way as within a template tag. to use {name} as an example, you would do the following:

{if name}{name}{/if}

This would show the value if one was entered and be disregarded if the field was left blank. However, you might want to also include a label.

{if name}Name: {name}{/if}