Please help us help you and fill where relevant:
Your LimeSurvey version: 2.72
Own server or LimeSurvey hosting: Own
Survey theme/template: Default
==================
Hi people, this time i have a multiple numerical input that i need to check thw SQ001 and SQ002 dont exceed 100, empty or 0 is valid too because is an optional question, the same with SQ003 and SQ004.
I know how to do this with one field putting this on ecuation validation question to check 2 fields separately, but ¿how can i do to check it with te sum os 2 fields? and I need an error message to let klnow the people that the sum of the 2 fields have to be 100 or less.
(is_empty(B10_SQ001) or regexMatch('/^([0-9]|[1-9][0-9]|100)$/',B10_SQ001)) and (is_empty(B10_SQ002) or regexMatch('/^([0-9]|[1-9][0-9]|100)$/',B10_SQ002))
Here an example of my question
Thanks for the help.