Skip to main content
Answer

Only allow specific domain submissions in a URL question (RegEx)?

  • May 26, 2023
  • 1 reply
  • 263 views

I have a question in my form that asks for a URL. We only want to allow specific URLs to be submitted, to ensure consistency but also to prevent spam. Is there a way we can enforce a specific domain be entered?

I imagine this would be done with some sort of response validation via regular expression. Google Forms has this basic functionality, and I’d expect Typeform to have it too.

Thanks!

Best answer by Liz

Hi @spatial The post below, while related to email domains, might help you in this for URLs:

 

 

1 reply

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • Answer
  • May 26, 2023

Hi @spatial The post below, while related to email domains, might help you in this for URLs: