Crocoblock/jetformbuilder

How to set a conditon for output in email action?

Opened this issue · 0 comments

I print all values in an e-mail.

Example:
Bewerbungsunterlagen: %bewerbungsunterlagen%

%bewerbungsunterlagen% is an optional media field. How can I print a text like "no files uploaded" if there are no media files?

Pseudo code:

if (%bewerbungsunterlagen not empty):
  print urls
else:
  print "no files uploaded"