Hi Seth,
The "assert" validator cannot be used for your purpose. Instead, you can
use flowscript validation. I just added some documentation to this page:
http://hippocms.org/display/CMS/Template+validation#Templatevalidation-Moreabout%7B%7Bjavascript%7D%7D%28flowscript%29validation
which also describes your particular usecase as an example:
http://hippocms.org/display/CMS/Template+validation#Templatevalidation-Javascriptvalidation
regards,
Dennis
Seth Gottlieb wrote:
Hello,
I have some complex validation requirements that requires evaluation
of data input into other fields and other documents in the
repository. For example, I need to make a field required if another
field is filled in. Is there some better documentation the
expression syntax used in an "assert" validation rules? The only
example, I see is ${this} > 0
http://www.hippocms.org/display/CMS/Template+validation
Thanks,
Seth
===============================
Seth Gottlieb
Content Here
P.O. Box 60062
Florence, MA 01062
http://www.contenthere.net
office: 857.488.4386
===============================
*******************************************
Pan Mass Challenge Rider:
http://www.pmc.org/egifts/giftinfo.asp?EgiftID=SG0137
*******************************************
********************************************
Hippocms-dev: Hippo CMS development public mailinglist
********************************************
Hippocms-dev: Hippo CMS development public mailinglist