You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
Guest Charles-François Dallaire
Hi,
Trying to validate if a parameter is empty, if it does output nothing (the ":" in this case), if it contains information output it (:{{{1}}}).
My Template as of now :
:{{{1}}}
If the information is empty it does the line break from the ":" and this is what I don't want.
What I was thinking to correct my problem, but it doesn't work :
{{#if: {{{1}}} | {{1|:{{{1}}}|}} | {{blank}} }}
1 is a variable like Contact_Name if it helps.
Thanks !
Charles
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.