View Revisions: Issue #13727

Summary 13727: Question template : adding automatically Expression Validation
Revision 2018-05-30 09:26 by DenisChenu
Additional Information Idea :
- Allow to add expression https://manual.limesurvey.org/Question_type_-_Multiple_numerical_input#Sub-question_validation_equation_.28em_validation_sq.29 : a twig file return an equation. for email : twig file can contain something like «regexMatch("/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})?$/",self.NAOK)»
- Allow to add expression in https://manual.limesurvey.org/Question_type_-_Multiple_numerical_input#Sub-question_validation_equation_.28em_validation_sq.29
- Allow to add text (with some EM) in the 2 tips

Inside the twig file : we can use question attribute, maybe subquestion too (for some for each)

Another situation can be move arrayTextAdapt to question_template : https://www.limesurvey.org/index.php?option=com_sobipro&pid=76&sid=98:arraytextadapt&Itemid=729 . But here , i don't find the way to move it to question template : we can not call other models : right.
Revision 2018-05-30 09:23 by DenisChenu
Additional Information Idea :
- Allow to add expression https://manual.limesurvey.org/Question_type_-_Multiple_numerical_input#Sub-question_validation_equation_.28em_validation_sq.29 : a twig file return an equation. for email : twig file can contain something like «regexMatch("/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})?$/",self.NAOK)»
- Allow to add expression in https://manual.limesurvey.org/Question_type_-_Multiple_numerical_input#Sub-question_validation_equation_.28em_validation_sq.29
- Allow to add text (with some EM) in the 2 tips