Data validation for text question | Community
Skip to main content
Answered

Data validation for text question


Hi,

I have a question which asks the user to put in their userid for our organisation. This userid is in the form of an alphnumeric code of a specific length. As some users have not been entering it correctly, I’d like to add validation to the Typeform text box to specify that the code has to be a certain length. Is this possible, and if so, please could you let me know how I might go about specifying this?

 

Many thanks

 

Jamie

Best answer by Liz

Yeah, I agree @john.desborough ! A feature request for now, but I’ve shared the feedback!

View original

16 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • March 10, 2021

Hi @Jamie - that’s a great question! I believe editing the max characters in a short text field should work. I created a gif below to show you how to set this up. Would that work for you? :grinning:

 


  • Author
  • Explorer
  • 2 replies
  • March 10, 2021

Hi @Liz 

Thanks so much for your response. 

I looked at the max characters function but I think that what I’m after would be the same thing but for a minimum number of characters. Our code is like this ST1-XXXXXX. The user put in ST1- and I want to stop them being able to only put in a shorter version / or incorrectly formatted version of the id.

Thanks again for supporting me with this, any further insights from you or the rest of the community much appreciated

Jamie


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • March 11, 2021

Hi @Jamie Ah, shoot! We only have a maximum character option right now, but a minimum character is a great idea!


  • Author
  • Explorer
  • 2 replies
  • March 12, 2021

Hi @Liz - thanks for answering. Good to know I’m not missing anything. 


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5279 replies
  • March 12, 2021

@Liz @Jamie - i think the ability to apply a ‘data mask’ to the input fields would be a great idea but, in my head, that goes onto the ‘new features’ ask-for list lol

Not sure if there is something that can be done with API’s ( @picsoung ) that might be able to potentially resolve that overall issue or this particular usecase. 

 

des


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • Answer
  • March 12, 2021

Yeah, I agree @john.desborough ! A feature request for now, but I’ve shared the feedback!


  • Navigating the Land
  • 2 replies
  • April 17, 2021

how can we get notified as soon as the “minimum character” option is available? We would love to have it!


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • April 22, 2021

Hi @omi if this is a feature we add, I can certainly let you know in the thread here. :grinning:


  • Navigating the Land
  • 1 reply
  • February 16, 2023

well? 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • February 16, 2023

Hi @APR We don’t have this feature available, but if you have another question you’re looking for help with, we’re happy to help answer. 


Hello guys, is there any update on this thread? I’ve tried to collect an ID number from my users but I would like to validate if it match with an external database, is it possible to integrate through an API or webhook to it? Thanks in advance!


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • May 8, 2023

Hi @andro.vlahovic thanks for stopping by! I’m afraid we don’t have any plans for a feature like this in the near future, but if that changes, we’ll update this post. 


  • Navigating the Land
  • 1 reply
  • October 25, 2024

Data masking is an absolutely essential feature! For example if we’re collection Social security numbers, it needs to be in the XXX-XX-XXXX format.

I’ve used other form builders to do this as well. Seems like it could be a very easy addition.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • October 31, 2024

Hi @patrickkoehr Thank you for sharing your feedback and that example! I’ll pass it along!


  • Navigating the Land
  • 1 reply
  • November 28, 2024

Any update on this? We really need data validation to check if the membership number is correct.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14923 replies
  • December 6, 2024

Hi ​@Mave I’m afraid not, but if we do have updates, you’ll hear about it here first!


Reply