Hide if Empty Not Working

Hi! I'm creating a document where I need to hide blocks. I'm not sure if I'm formatting incorrectly, but it's not working. Advice please!

Here is the latest data test of my flow:

And this is the template doc:
Capture1

And finally, the output doc:
Capture2

Hello @aliciahaugen,

Indeed, there is an issue with the formatter at the moment. Please try to use ‘collapse’, i.e. {{variable}:collapse}.

Best regards,
Petr Bushuev
Plumsail team

Hi @Petr,

Is there an ETA on that being fixed? Regarding your suggestion to fix, how would I make it conditional?

Finally, I’ve used a few credits in testing this, is there a better way to test flows to not use credits?

Alicia

1 Like

Hi @aliciahaugen,

This is to inform other community members:

Currently, hide-block-if-empty and hide-block-if formatters work in repeatable sections such as list items or table rows only. We are planning to add support for plain text elements as well, but we don’t have any ETA on this yet.

You may use out 30-days trial to test Plumsail Documents for free. Here is an instruction how to register an account and get an API key.

Best Regards,
Anna Dorokhova
Plumsail Team

1 Like

Hi Anna,

I was wondering if you have any further info on the plain text elements?

Also, is there, or will there be a way to format conditionally. E.g. If a block below is empty, hide the heading?

Thanks
Sarah

1 Like

Is there a successful example template, JSON, output for this issue?

Thanks!