Hi people, Im trying to validate on multiple numerical input just one field to be able to insert just numbers between -10 and 50 with regex, but Im not be able to do it, can someone help me? I attach the lss survey file.
I try to do it with ecuation validation question but dont works fine.
Well, finally I be able to do something like that putting this on ecuation validation question "(is_empty(P1_SQ001) or regexMatch('/^(?:-[0-1]*[0-9]|^[0-5][0-9]*|^[0-9])$/',P1_SQ001))" and this on tip for equation validation question "{if((is_empty(P1_SQ001) or regexMatch('/^(?:-[0-1]*[0-9]|^[0-5][0-9]*|^[0-9])$/', P1_SQ001)), '', '<span style="color:red">Por favor, introduzca un valor entre -10 y 50.</span><br />')}"