schooltool-developers team mailing list archive
-
schooltool-developers team
-
Mailing list archive
-
Message #00354
Add IntFieldDescription to trunk
For Cambodia, I'm adding a demographics field to record the number of tablets of vermifuge some students receive. Then, I have to create a census report with the total number of tablets delivered.
I could use TextFieldDescription fields and convert the values when generating the report, but I also want the basic validation provided by zope.schema.Int
So, I created an IntFieldDescription and I was thinking maybe this could land in trunk.
As a side note, I'm also adding an address demographics field (I know, I could use self contacts, but I think it's overkill) and I was thinking we could have a TextLineFieldDescription and TextFieldDescription, just for widgets rendering purposes (text inputs and text areas).
Let me know what you think. Thanks.
Douglas
"... allí es cuando te das cuenta que las cosas malas pueden resultar bastante buenas..." - Lionel Messi
Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html
Follow ups