The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Zip Code verification
I have several online quote/contact forms. I got an entry and someone had only typed 4 numbers for their Zip code, I thought that the form would not allow an incomplete zip code. Is there a way to set it so that it requires the 5-9 digits for a zip code? I have tried setting the number range to minimum 000000, max 999999999 and step 1. If anyone knows how to fix this it would be great. Thank you
October 16, 2017 at 3:51 pm
I think you can enter (untested):
99999?-9999
That will require a minimum of 5 digits and they can optionally include the extra 4.
However, what I would do is break it into 2 fields, the standard 5-digit zip and then the extra +4 separately. Make the 5-digit one required and put the 99999 mask in it.
Here's the Formidable docs on this:
https://formidableforms.com/knowledgebase/format/
Discussion closed.