Hello Cocooner's!


**Cocoon Version: 2.1.5.1**



i am not shure if my code is wrong or if that is a bug in CForms...

the problem is: i have a form with more then one date input fields

that display as a calendar like they should. but if the date field

is inside a tab (<fi:styling type="tabs"/>) it won't show up 

when you click on it. The page looks fine just the 2nd calendar doent work.



Is that a bug or am i doing it wrong again?

How to report if it is a bug? 



Thanks a lot and have a nice weekend...

philipp











my code:



2 date fields in one tempalte the first one is outside

the tabs and works the 2nd is inside a tab and doesnt work:



<fd:field id="dateOfBirth">

<fd:label>Date of birth: (dd/mm/yyyy) </fd:label>

<fd:datatype base="date">

<fd:convertor type="formatting">

<fd:patterns>

<fd:pattern>dd/MM/yyyy</fd:pattern>

</fd:patterns>

</fd:convertor>

</fd:datatype>

</fd:field>

-----------------------------------------------------

<fd:field id="issuingDate">

<fd:label>Issuing date: (dd/mm/yyyy) </fd:label>

<fd:help></fd:help>

<fd:datatype base="date">

<fd:convertor type="formatting">

<fd:patterns>

<fd:pattern>dd/MM/yyyy</fd:pattern>

</fd:patterns>

</fd:convertor>

</fd:datatype>

</fd:field>

--------------------------------------

the TEMPLATE (only parts of it) :



<fi:group>

<fi:styling type="fieldset" layout="columns"/>

<fi:label>II. Personal Data: </fi:label>

<fi:items>

<ft:widget id="dateOfBirth"/>

<ft:widget id="birthplace"/>



<fi:group>

<fi:styling type="tabs"/>

<fi:label>Choose a panel: </fi:label>

<fi:state>

<ft:widget id="tab-state"/>

</fi:state>

<fi:items>



<fi:group>

<fi:label>Address</fi:label>

<fi:styling layout="columns"/>

(....)

</fi:group>

<fi:group>

<fi:label>ID Document</fi:label>

<fi:styling layout="columns"/>

<fi:items>

<!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -->



<ft:widget id="issuingDate"/>

(.....)






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

Reply via email to