Good Morning, here is a snippet of code I'm trying to use:

== form definition ==

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

== form template ==

   <ft:form-template action="#{$continuation/id}.continue" method="POST">
     <fi:group>
       <fi:styling layout="columns"/>
       <fi:items>
         <ft:widget id="firstname"/>
         <ft:widget id="lastname"/>
       </fi:items>
     </fi:group>
     <input type="submit"/>
   </ft:form-template>


but when I execute this code it tells me back that "Form has no child
named 'firstname'". This will be fixed removing the <ft:group> tag to
the definition file, but this isn't what I want...
So, does anyone could tell me how to resolve this problem?

Thanks a lot,
 Omar

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to