Skip to main content
Question

Conditional fields in notifications?

  • March 11, 2025
  • 1 reply
  • 40 views

Is it possible to hide fields and corresponding text in notifications if the field has no data?

I’m asking because I’m finding it impossible to create a universal ‘User enrolled in ILT session’ e-mail notification when offering virtual and location based course events.

For instance, we offer courses that are held virtually, in-person, and/or a combination of both. Because of this, the use of the [session_location] and [session_classroom] tags are appearing in notifications when they don’t have corresponding information.

If you have a single location-based event, then the tags are filled in with the corresponding information.

 

But if the location doesn’t have a classroom then you get the session_classroom tag.

 

If you have virtual only event(s) then both fields only show their tags.

 

If you have a combination of virtual and in-person events, then the location and classroom tags only show the in-person events and don’t indicate that the course is hybrid.

 

1 reply

lrnlab
Hero III
Forum|alt.badge.img+10
  • Hero III
  • March 11, 2025

Unfortunately not. We opted to created a location called, “online meeting” so were can use the same template for both in person and virtual sessions.