So I'm trying to validate only 1 field in a multiple short text question.
I am using v 1.95
I found this page with a decription of what is required...
www.limesurvey.org/manual/Question_type_...28em_validation_q.29
I tried to adapt the example in the screenshot, but I seem to be running into issues.
A: Where would I put the vaildation equation... in the question validation equation or the sub-question validation equation ?
B: This is the equation I wrote... Does anyone see what I did wrong? Where cust1_7pc is the question code.
Question validation equation
(regexmatch('/^[a-zA-Z]\d{1}[a-zA-Z](\-| |)\d{1}[a-zA-Z]\d{1}$/',cust1_7pc))
Question validation tip
if (regexmatch('/^[a-zA-Z]\d{1}[a-zA-Z](\-| |)\d{1}[a-zA-Z]\d{1}$/',cust1_7pc)),",'postal code format< br/>')