Hi.

I am trying to create form which is based on form example which i
found on cocoon 2.2 home page. I have selection-list widget in my form
model, and after I run project in browser selection-list is renderd as
a normal text input instead of html select tag :(.

My second question relates to date selection. Does cforms contains
something like date-selection widget (ex. like in xforms) ? I set
field datatype to date, but again in browser widget is rendered as a
normal text input without any extra date widget in which user could
select date instead of manually typing it into input.

Any help will be appreciated.

Regards,
Tomek Piechowicz


Part of my form model :

<fd:field id="projectNote">
        <fd:label>Ocena projektu: </fd:label>
        <fd:datatype base="long">
        <fd:selection-list>
             <fd:item value="2"/>
             <fd:item value="3"/>
        </fd:selection-list>
        </fd:datatype>  
</fd:field>

Part of my form template:

<ft:widget id="projectNote">
     <fi:styling list-type="radio"/>
</ft:widget>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to