Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
validation question
nico
How would I force a text field to have output look like ">>linktext"? I need the ">>" to show up in front of the link text. This can't be hardcoded in the presentation template as it is an optional field.
Thanks,
Nico
Find more posts tagged with
Comments
Bowker
Try something like this in the Presentation Template:
<iw_if expr=" length({iw_value name='dcr.linktext'/}) > 0 ">
<iw_then>
>><iw_value name="dcr.linktext" />
</iw_then>
</iw_if>
Depending upon what type of field "linktext" is you may need to check the length > 10 since Visual Formatter (?) inserts paragraph tags into empty textareas.