Christian Klinger schreef:
> Hi Dennis,
> i think you can try to add a new Field and a corresponding Widget for
> your needs.
> I think this could be a good starting poing.
> If you have further questions - please ask.
Thanks for your answer
I have the new Field, and its constraint, but I would like to sanitize
the value before the form layer, i.e. I don't know if all input comes
through a form, and certainly not all output goes via a form, so
sanitizing the value via a widget (data converter) will not cover all
def constraint(self, value):
if not validate_regex(value):
Now how to plug in another method at the final steps of the "set"
behaviour to rewrite the value?
Zope3-users mailing list