Hello community!
I have an issue. I want to update mu current questionnarire in a way that a certain questions will arise only, if entered text (in “text” type question) will start from a certain symbol, or number, So if somebody enter “Maria” - there will no some questuions appeared, but if there will be “7Maria” → then a couple of questions will arise.
In the XLSForm, in the “survey” worksheet, the header of the column named “relevant” (where this regex should be written).
In the Formbuilder it placed in the “Skip logic” → “questionName” → field “response value”.
Perhaps regular expressions works only in “Validation Criteria”, and that`s all?
But i suppose, the problem in a “wrapping” of the “response value”.
Hello Kal_Lam.
First of all i want to apologize for my silence. Thank you for your response on my question.
However your answer is general for my question. I mean, i feel there is a slighly specific answer. Perharps it is because i not explained correctly.
So again, we have situation, which i described above, and i always used to write regular expressions for the “relevant” column name in the “survey” worksheet in the XLSForm.
My question is: could i write (is there a possisbility?) a regular expression (a.e. regex(., ‘[1]\w+$’) → that corresponds to “7Maria”), in the field I showed in the picture I attached
Yes you can, but you have to use the ‘manual’ skip logic option to manually enter a customized XPath expression instead for your relevant condition; in your case, a regex()