Forum
Combine Case with Character Limit in Format Attribute
Is it possible to combine both case and character into one format
attribute for a template tag?
I tried format="UC|C:2"
and format="C:2UC"
but those do not appear to work. I'm trying to force proper data entry for state postal codes.
No, you can't do that currently.
In Perch 3 you'll be able to do this with a template filter.
Thanks, Drew!