Thread Previous • Date Previous • Date Next • Thread Next |
Hey,
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.
Sure! Did you add editable min/max constraints?
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)
I would have done the same in Cambodia's case ;)
and I was thinking we could have a TextLineFieldDescription and TextFieldDescription, just for widgets rendering purposes (text inputs and text areas).
Sure, go ahead. Maybe it's worth to name it TextAreaFieldDescription to avoid evolution.
Cheers, Justas
Thread Previous • Date Previous • Date Next • Thread Next |