[Product-Developers] Where's a good datepicker for zope.formlib?
Gil Forcada
gil at usecm.com
Wed Mar 30 08:01:45 UTC 2011
2011/3/29 Noe Misael Nieto Arroyo <noe at iservices.com.mx>
> I'm working on a loan calculator using zope.formlib and following this
> tutorial:
>
> http://plone.org/documentation/manual/developer-manual/forms/using-zope.formlib
>
> The Form interface has two date schemas like this:
>
> class ISimuladorForm(Interface):
> """
> Zope Interface for the financial simulator for sofomanec.
> """
> start_date = Date(title=_(u'Start Date'),
> description=_(u'Loan start date.'),
> required=False)
> first_payment = Date(title=_(u'First Payment'),
> description=_(u'Date of the first payment.'),
> required=True)
>
> I use this interface to generate the form. The date schemas are rendered as
> a single text block.
>
> How do I get it to display a data picker widget instead of the boring
> square text box?
>
Same question here, I would like to use a date widget to ask users their
birth date without having to check if users enter the date on the correct
strformat :)
Cheers,
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/product-developers
>
>
--
*Gil Forcada**
*C/Llacuna, 166 2n.2a (Edifici Llacuna)
telf: 93.188.88.12 - 619.65.34.92
fax: 93.320.93.97
(08018) BARCELONA
gil at usecm.com
www.usecm.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110330/30a2c7e0/attachment-0002.html>
More information about the Product-Developers
mailing list