- Posts: 112
- Thank you received: 6
Ask the community, share ideas, and connect with other LimeSurvey users!
regexMatch('/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/', self)
{if(regexMatch('/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/',self),"Email validated","Please enter a valid email address")}
regexMatch('/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/', Q1_other)) AND (!is_empty(Q1_other)) OR (Q1=="A1")
Since there are .social , .anything etc domain now, need to be updated totpartner wrote: If using the default answer codes, it might be:
Code:regexMatch('/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/', Q1_other)) AND (!is_empty(Q1_other)) OR (Q1=="A1")