- Posts: 55
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
Place this in the "Subquestion validation equation" field:I want all of them to be validated only with letters
is_empty(this) OR regexMatch('/^[a-zA-Z]+$/', this)
Place this in the "Question validation equation" field (assuming that the first and third sub-question codes are SQ001 and SQ003):I want the first and the third to be validated with one character only
(is_empty(self.sq_SQ001) OR strlen(self.sq_SQ001) < 2) AND (is_empty(self.sq_SQ003) OR strlen(self.sq_SQ003) < 2)