Check if attribute is required

Check if attribute is required

Wednesday 30 June 2004 1:54:30 am - 2 replies

Author Message

Paul Forsyth

Wednesday 30 June 2004 2:15:13 am

Yip, use this code:

{section show=$attribute.contentclass_attribute.is_required|gt(0)}
*
{/section}

which will show an asterisk if the attribute is required.

paul

--
http://www.visionwt.com

Silke Fox

Wednesday 30 June 2004 4:35:59 am

Hey, that's easy...
Thank you, Paul.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.