cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Johnston <coc...@lojjic.net>
Subject Re: CForm Definition and CForm Template issue
Date Tue, 29 Aug 2006 14:24:58 GMT
Omar Adobati wrote:
> Jason,
> 
> I tried your solution but it won't work... here is my form definition
> snippet, there's any mistake?
> 
>    <fd:group id="name">
>      <fd:field id="firstname" required="true">
>        <fd:label>Nome</fd:label>
>        <fd:help>First name of the sender of the message</fd:help>
>        <fd:datatype base="string"/>
>        <fd:validation>
>          <fd:length min="2"/>
>        </fd:validation>
>      </fd:field>
> 
>      <fd:field id="lastname" required="true">
>        <fd:label>Cognome</fd:label>
>        <fd:help>Last name of the sender of the message</fd:help>
>        <fd:datatype base="string"/>
>        <fd:validation>
>          <fd:length min="2"/>
>        </fd:validation>
>      </fd:field>
>    </fd:group>
> 

Ah, didn't notice before... but you have to wrap the fd:field's within 
an fd:widgets element, they cannot be direct children of fd:group.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message