plone - Registering additional validators on PloneFormGen -


i'm trying register new validator available list of validators can select in ploneformgen field.

the task seems simple @ beginning: registered new archetypes validator , found way add dropdown list (through monkey-patch add new item stringvalidators tuple) , call initstringvalidators method of pfg tool.

still, selecting new validator not lead anything: __call__ method never called.

what i'm missing?


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -