Forums / General / How to limit the number of relations

"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".

How to limit the number of relations

Author Message

Lionel PEYRON

Monday 21 January 2008 3:58:45 am

Hello all,

I defined a class with an attribute of the datatype <b>Object relations</b> with selection method <b>Template based, multi</b>. During an instantation of a new object of this class, I would like to limit the number of relations to 3 max... but I don't know how to do this (I'm a new user of Exponential...).

Could someone give me a way to do this ?

Thanks a lot,

Bye

PS : sorry for my bad english...