Is there a question type for URLs (or links)? | XM Community
Skip to main content

One of the questions in my survey asks the respondent to enter a URL (a link).

  • Is there a question type for this?

  • Or if entered in a text field, is there an option to validate a URL?

Thanks

There is no built-in option to validate url format.

But you can add custom validation to a text field :
image.pngThen you have to choose Regex :
image.png
I've found a regex you just have to paste in your validation :
((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[-;:&=\\+\\$,\\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\\+\\$,\\w]+@)[A-Za-z0-9.-]+)((?:\\/[\\+~%\\/.\\w-_]*)?\\??(?:[-\\+=&;%@.\\w_]*)#?(?:[\\w]*))?)
Reference : https://stackoverflow.com/a/8234912


I’m having the same issue. Has Qualtrics updated this validation type?


I’m having the same issue. Has Qualtrics updated this validation type?

Hello @View_QUT, unfortunately there is still no built-in option to validate a url in a Text Entry question. However, the Regex solution on this thread is still able to be used and is functioning as expected. 🙂

Are you having issues implementing this solution? 


Leave a Reply