


BloCk in salesForCe Formulas Usability REGEX Format Application Scenarios. The mask would be M4K#$$, with # = numbers and $ = alphanumeric characters (letters or numbers).Ĭharacters like commas, slashes, and dashes will all act like M4K and only function as placeholders. Building Declarative Solutions on the Salesforce Platform Philip Weinmeister.
#Salesforce regex for number type in flow serial numbers#
The auto-formatting can be used for a more simple pattern, such as a phone number or serial number.įor instance, let's say you have a serial number field, and all of the serial numbers expected to be entered on your form start with M4K, then have 4 numbers and 2 letters. In this example, we want employees to enter their employee ID in the format: ABC1234-XY First 3 characters are upper case alphabets followed by four numbers. Create your rules in the corresponding fields.In the Expected Input Format menu, select Custom.Select your question and click the Options button to open the editing sidebar.Enter your beginning date in the From field and your ending date in the To field.Ĭreate your own formatting rules by using regular expressions, creating an automatic format, or by limiting the number of characters that can be entered into a field.Require a Date and/or Time Within a Rangeĭate inputs can be limited to a specific range. Select the Date (with calendar) option if you'd like to allow respondents to use a calendar to select the date. In the Expected Input Format menu, select Date, Time, or Date and Time.Select a text input field and click the Options button to open the editing sidebar.To require a field to accept only a date: Enter the lower number in the From field and the higher number in the To field. Number and string types will be returned as strings.You can either copy-paste the JSON code, use the Load from the URL option, or use the Browse option.

