multiple scripts in After Validattion Script field

Chuck Theobald <[email protected]> Thu, 11 Jun 2015 14:43:06 -0700
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Plone 4.3.3, PFG 1.7.16

I am using an After Validation Script to do some calculations based on a 
few fields and writing the results to other fields. Now I want to store 
data in a database through a Z SQL Method per the PFG SQL CRUD tutorial 
at 
(http://docs.plone.org/5/en/working-with-content/managing-content/ploneformgen/sql_crud.html). 
I have this working great stand-alone, but need to combine it with the 
calculation script.

I've tried putting "python:folder.prepareForExport(); 
here/SQL_createScanLogRow" into the After Validation Script, but this 
produces an error. How would I run both routines for After Validation?

Alternatively, is there a way to invoke a Z SQL Method from within the 
python script?

Thanks

-- 
Chuck Theobald
System Administrator
The Robert and Beverly Lewis Center for Neuroimaging
University of Oregon
P: 541-346-0343
F: 541-346-0345


------------------------------------------------------------------------------