AnsweredAssumed Answered

Custom Type - Properties Cardinality

Question asked by woody on Jul 21, 2010
Latest reply on Jul 23, 2010 by woody
Is there a way to add, in a custom type definition, a properties that can be repeted N times.

For example, in my case I've to insert the possibility to add more then 1 phone number, composed as 2 properties (prefix and number). How can I define that in my customModel.xml ?

Here my code

   <type name="my:worker">
            <property name="my:prefix">
            <property name="my:number">

How can I repeat the 2 properties prefix and number N times? And how it is rendered within Share form Engine?

Sorry for the easy question, but I cannot find a solution to that…