How do we add validation to question node?

I am currently trying to get a zip code from a user and only want them to be able to put in numbers for the input. I can’t figure out where the option for validation is. Also can you include the code that will allow me to only take in numbers?

Thank you!

1 Like

Hey @GarveyJohn ,
I’d suggest you to use the location prompt and extract the zip code from the response as shown in the screenshot below.
For more information, you can refer to the location prompt docs: Prompts and Messages | yellow.ai