Community Groups are officially here!
We've released Groups, a new feature that enables us to connect community members of similar industries and interests in a shared, private space. You can check out all of the details here, including information about who can join, how to join, and what Groups are currently offered. Please leave your feedback through this Community Groups Feedback Survey.

Content Validation - How to exclude special characters in Text entry questions

Anna_Verges UKCommunity Member Qubie ✭
edited July 22 in Custom Code

I am preparing a survey where the user will type the surname - text question.

I want to make sure that characters such as accents, apostrophes, umlauts are not accepted.

I cannot see, under content validation options, a way to exclude special characters

Am I missing something? Has anyone who had similar requirement found a way to do the above in Qualtrics?

Many thanks 🙂


Best Answer

  • TomG
    TomG Raleigh, NCCommunity Member, Qualtrics Brand Admin Wizard ✭✭✭✭✭
    Accepted Answer

    You can do it with a regex that only allows A through Z and few other characters.

    ^[a-zA-Z '.-]+$