cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Diaz" <dd...@dotech.com>
Subject cForms repeater validation using sum
Date Wed, 20 Jun 2007 20:47:01 GMT
I need to test the sum of a column using cForms within a repeater. I'm
having a little trouble figuring out the syntax to make this work. I want to
do something like this...

<fd:repeater>
<fd:field id="col_value">
      <fd:validation>
		<fd:assert test="Sum(col_value) >= x_value">
			<fd:failmessage>Error</fd:failmessage>
		</fd:assert>
      </fd:validation>
</fd:field>
</fd:repeater>
 
Daniel Diaz, M.S.
RealNet Team

Mime
View raw message