Re: How to add a conditional attribute for a sum

Posted by bsteuhl on
URL: https://discuss.orbeon.com/How-to-add-a-conditional-attribute-for-a-sum-tp32243p1477696.html

what about when a user accidentally enters a string character?  An error is thrown on the calculation even if there is a bind on the nodeset of type="xs:decimal".  How do you prevent a calculation from running if there is an error?  I have attempted to do a count of fr-errors-instance/error and if != 0 do not run but this does not work.  Any suggestions - what am I missing.  Thanks.