It puts a space between the custom property and the period while this space is unwanted by me nor put by me when I’m editing the template.
Page 1 / 1
Hey @blissy,
Welcome back to the Community!
I would suggest double checking to see if your profile property value actually has a trailing space. Leading or trailing spaces can cause this odd behavior.
I would suggest double checking to see if your profile property value actually has a trailing space. Leading or trailing spaces can cause this odd behavior.
What’s a trailing space and what are you demonstrating with your example?
Hey @blissy,
A trailing space is a space that is located after the final character in a text field. Similarly, a leading space that is located before the first character (letter, number, punctuation mark) in a text field.
In my screenshots, I’m demonstrating what I mentioned. That when you’re referencing a profile property, it’ll return the exact value of the property.
From my screenshots, the value I have set for the Phone Type property is “Apple Iphone”. When i’m referencing that property using “{{ person|lookup:"Phone Type"|default:"" }}?” it’s returned as “Apple Iphone?”.
Note how because my property value has no trailing spaces, the question mark immediately succeed it. Same thing would occur if I used a period (.) instead of a question mark.