Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 104: Validate user properties with regular expressions
April 23, 2015 by markpiller
Spread the love

When a user registers or update his account, application uses the user registration API. It is common for the user interface to enforce the data entry rules and validate the values entered by the user. However, an alternative approach is to perform data validation on the server. Backendless supports user properties validation on creating and updating user objects using regular expressions. Backendless console includes several pre-configured regular expressions for the most common data types, such as email address, URL, social security number and US phone number. Additionally, app developer can specify their own regex. To configure a validator for a user property:

  1. Login to Backendless console, select an app and click the Users icon.
  2. The User Properties section includes the validator “column”. Select one of the pre-configured validators from the drop-down list or choose custom and enter your own regular expression:
    regex user properties - Feature 104: Validate user properties with regular expressions
Share this post
Tweet about this on TwitterShare on FacebookGoogle+