Field is required?

Author Message

David Santiso

Saturday 12 February 2011 8:59:49 am

Hi,

What function returns if a object field is required?

Thanks,

David

Thiago Campos Viana

Saturday 12 February 2011 11:43:42 am

Hello again David

Check the docs: http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Objects/ezcontentobjectattribute

Learning how to use the doc is the first thing you must know.

You always can use attribute(show, 1):

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-operators/Miscellaneous/attribute

To debug your template variables.

In this case, you must use something like this:

{$node.data_map.attribute_identifier.is_required}

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

David Santiso

Saturday 12 February 2011 12:16:09 pm

Thanks.

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