I have the following GTL code wich workes fine:

{{#if Months!=""}}{{Months}}{{/if}}

However i want to do a double check. So i want to check if the field weeks is empty or greater than 1. I tried something like this but i got an error. Is this even possible with GTL?

{{#if Months>"1" or Months!=""}}{{Months}} maanden{{/if}}

Thanks for helping.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.