I need to display Fields separated by commas conditionnally but how to handle the trailing?
Suppose that we have two fields f1 and f2. These fields are conditional so they should be shown like this :
<empty> f1 f1,f2 f2
if I put the commas into the "if" blocks, I get :
<empty> f1, f1,f2, f2,
if I put commas chars after the "if" blocks, I get :
,, f1,, f1,f2, ,f2,
I have a lot fields and a lot of possible combinations so, using an "if" block for each combination is not possible. How should I proceed?
Last edited 21 October 2014