LimeSurvey Cloud
Versione 3.28.66
=================
have a text array with 6 columns and 10 rows. The rows open according to the number of operators indicated in the previous question. I tried to insert the validation of the sub-questions by email tax code and last column field max 2 characters. the controls work but it tells me that I must always fill in all ten operators. For example, if in the previous question I indicate 4 operators and correctly fill in the relative fields in the array, however, it returns an error and lets me continue only if I fill in all 10 operators. I insert the formula and the screenshot below
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ001_SQ003.NAOK)) AND ('/^.+?@.+?\..+$/', F1a_SQ001_SQ004.NAOK) AND strlen(F1a_SQ001_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ002_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ002_SQ004.NAOK) AND strlen(F1a_SQ002_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ003_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ003_SQ004.NAOK) AND strlen(F1a_SQ003_SQ006) ==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ004_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ004_SQ004.NAOK) AND strlen(F1a_SQ004_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ005_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ005_SQ004.NAOK) AND strlen(F1a_SQ005_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ006_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ006_SQ004.NAOK) AND strlen(F1a_SQ006_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ007_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ007_SQ004.NAOK) AND strlen(F1a_SQ007_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ008_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ008_SQ004.NAOK) AND strlen(F1a_SQ008_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ009_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ009_SQ004.NAOK) AND strlen(F1a_SQ009_SQ006)==2 AND
regexMatch("/^[A-DF-HJ-NP-TV-Z]{6}[0-9]{2}[A-EHLMPRST]([04][1-9])|([1-25-6][0-9])|([37][01])[A-Z][0-9]{3}[A-Z]$/", strtoupper(F1a_SQ010_SQ003.NAOK)) AND regexMatch('/^.+?@.+?\..+$/', F1a_SQ010_SQ004.NAOK) AND strlen(F1a_SQ010_SQ006)==2