I've got a Array(Text) type question, 4 subquestions.
For the question validation, this regex: /^(?=.*[1-9])[0-9]*[.,]?[0-9]{1,2}$/
For some reason, this will cause the error condition if the number ends in a decimal with 0.
So 14.5 gives no error, but 14.50 does result in error
Trying this expression out on regexr.com finds a match, where apparently LS does not.
In advanced settings for the question, "Only Numbers" = No
The validation error message should be "The answer entered should be a number greater than zero with a maximum of two decimal places." .. but no message appears for this condition.
We have a question validation tip equation, and without this, the error does not manifest:
{if(( (!is_empty(G6S5Q4_SQ001_SQ003.NAOK)) and (!is_empty(G6S5Q4_SQ001_SQ002.NAOK)) and (G6S5Q4_SQ001_SQ003.NAOK > G6S5Q4_SQ001_SQ002.NAOK) ), '4c must be less than or equal to 4b for Quarter 1 2020.||', '' )}
{if(( (!is_empty(G6S5Q4_SQ002_SQ003.NAOK)) and (!is_empty(G6S5Q4_SQ002_SQ002.NAOK)) and (G6S5Q4_SQ002_SQ003.NAOK > G6S5Q4_SQ002_SQ002.NAOK) ), '4c must be less than or equal to 4b for Quarter 2 2020.||', '' )}
{if(( (!is_empty(G6S5Q4_SQ003_SQ003.NAOK)) and (!is_empty(G6S5Q4_SQ003_SQ002.NAOK)) and (G6S5Q4_SQ003_SQ003.NAOK > G6S5Q4_SQ003_SQ002.NAOK) ), '4c must be less than or equal to 4b for Quarter 3 2020.||', '' )}
{if(( (!is_empty(G6S5Q4_SQ004_SQ003.NAOK)) and (!is_empty(G6S5Q4_SQ004_SQ002.NAOK)) and (G6S5Q4_SQ004_SQ003.NAOK > G6S5Q4_SQ004_SQ002.NAOK) ), '4c must be less than or equal to 4b for Quarter 4 2020.||', '' )}