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

Slack Signup
Newsletter Optin
Help Desk

How to not allow all spaces as an entry in a required text field?

Labels

This Discussion is public

Notifications

We've had some entries in a registration form where some required text fields have a maximum of 'x' number of characters, and one person was able to bypass putting any real information into those fields. We believe they simply entered spaces.  Of course when we ask for a name, we want a name; all spaces should not be accepted. How to do this?

You can use a regular expression to limit the input to alpha numeric characters only: https://formidableforms.com/knowledgebase/format/

While it will prevent any spaces and special characters from being used, there's nothing that will prevent someone from using fake information. For example, they could easily enter a name like 'jhalcasclj' and it will pass the validation.

Discussion closed.