Re: PloneFormGen: order of overrides

"T. Kim Nguyen" <nguyen-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
It would seem that calculating duration might be better done not as a field validation but as a whole form thing. Could you use a custom script adapter instead for that?

Kim



> On Mar 26, 2015, at 7:03 PM, Chuck Theobald <[email protected]> wrote:
> 
> How is the order of evaluation of overrides determined? I've got a few 
> fields with custom validators, some simply determine correct format 
> (HH:MM), one does a calculation using these other fields. Specifically, 
> subtracting start time from end time to set a hidden duration field.
> 
> In my case, it seems the validator on the hidden field is being run 
> first, before the format validators. There is nothing I can see to set 
> order of evaluation or dependency checking, so it seems the order of 
> evaluation is arbitrary.
> 
> Thoughts?
> 
> -- 
> Chuck Theobald
> System Administrator
> The Robert and Beverly Lewis Center for Neuroimaging
> University of Oregon
> P: 541-346-0343
> F: 541-346-0345
> 
> 
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the 
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.