Forums / Developer / Field is required?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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.