Author Topic: Empty macro field delimiters  (Read 342 times)

Offline jrp

  • Member
  • **
  • Posts: 57
    • View Profile
Empty macro field delimiters
« on: February 05, 2022, 09:54:54 AM »
I quite often build a template that includes events / descriptions / headlines based on the location or other fields.  This is easy to do but can be a bit messy if one of the fields is empty as it will leave a spare comma or other punctuation.

This could be addressed by, eg, allowing the inclusion of punctuation at the end of the variable name ( eg, {event,} ) and if the field is empty, the {event,} macro is also empty.

There may be more general ways of approaching this issue, but I would find the facility useful.