Unique ID Regions

Unique ID Regions


Note: The Unique ID Region Type in available in Forms Designer 6.5 and higher
The Unique ID region allows the number initially assigned to increment by one every time the Form is accessed, such as an invoice number or serial number. This can be helpful to identify each submitted Form as unique.

Tutorial Video

A tutorial video is also available and covers most of this material.

Creating a Unique ID Counter in the Portal

Before you can use a Unique ID Region in your Form, you must create a Unique ID counter for your Company. The Unique ID Region will be using this counter to populate the next Unique ID into your Form.
1. From the Admin tab, select Unique ID.
Note: Unique ID must be enabled in your Company's profile by Field2Base. If you do not see Unique ID listed in the Admin menu, please contact Field2Base Support to enable this feature in your account.
2. Click Create to open the dialog box.

3. Fill in the appropriate data to configure your counter then click Submit.

a. Name - Set the name of the counter. You will need use this name when you create your Unique ID Region in Forms Designer. This field is required.
b. Start Value - The first number in the counter. The default start number is 1 but you can change it as needed.
c. End Value - The maximum number for the counter. This field is optional. 
Note: Once the maximum value is reached, the Form will create an error and cannot be sent until the counter is restarted. Only use this option if you know you will have a limited amount of Forms.
d. Prefix - This will be pre-pended to each Unique ID. For example, you could add a department prefix to your Unique IDs such as F2B-PS 000001. This field is optional.
e. Pad Size - The length of your serial number. The prefix is not counted in the pad size. You do need to specify a pad character for your pad size in order for it to work. This field is optional.
f. Pad Character - The character used to fill spaces of your pad size. This field is optional.
Example: If the Start Value is 1, Prefix is "F2B-PS ", Pad Size is 4, and Pad Character is "0", then the first serial number will be F2B-PS0001 followed by F2B-PS0002.

Creating a Unique ID Region in Forms Designer

Once the Unique Id counter that you want to use has been created in the Portal, you are ready to create a Unique ID Region on your Form!
1. Create a new Region and choose Unique ID as your Region type.

2. Go to the Unique ID tab in the Edit Region dialog box to select the options for your Unique ID Region. 

a. Unique ID Trigger - You can set when the Unique ID will be populated into your Form in this section. 
  1. The default is to populate the Region when your Form is initially opened.
  2. To populate the Unique ID when the Form is sent, choose When the form draft is sent
Note: You cannot set a Unique ID Region as required if it is being populated during form sending since form validation is completed before sending. However, the Form will not be sent without a unique id. The User will be prompted to retry when they have an active connection and can receive the next available ID from the specified counter.
  1. To populate the Unique ID the first time a Region is changed, choose The first time a region changes then choose the desired Region from the Trigger region drop-down. For example, if you only want to get a Unique ID to be generated when a Form is signed, you could set that signature Region as the trigger Region.
  2. To populate the Unique ID every time a Region is changed, choose Every time a region changes then choose the desired Region from the Trigger region drop-down.
b. Trigger region - This field will become enabled once a Unique ID Trigger that uses a trigger Region has been selected. Click on the > button to access the window of available Form Regions to use as a trigger to generate a Unique ID. Select the desired trigger Region and click OK to populate the Trigger region field.

c. Unique ID Source  - You must define the source for your Unique ID in this section.
  1. The default option is to Use a static counter name. 
  2. You can also Choose the counter dynamically using a region value. For example, if you have several department counters that you want to populate from depending on which name is chosen from a Datasource Region on your Form.
d. Unique ID Source Field - Enter either the name of the Unique ID counter that you want to use (if you are using a static counter name) or select the Region value that contains the name of the counter that you want to use (if you are using a region value). If you have selected Choose the counter dynamically using a region value, the > button will be enabled and you can click on it to access the window of available Form Regions to use as a source.

e. Allow users to enter a new value - By default, Unique ID Regions cannot be changed by the user. If you want to give Users the ability to insert a value into a Unique ID Region (typically used when there is no Internet access for calling web services), check this option.

    • Popular Articles

    • Forms Designer Quick Start Guide

      Overview Field2Base Forms Designer is the proprietary software application that allows your existing Forms to be quickly converted to an active, online, smart Form available to your end users via our Mobile Device and Web-based Applications. This ...
    • Integration Service Configuration Guide

      How To Configure Integration Services To Allow Read/Write Access on a Network Path All of our Integration Products, including the DIM, DUU, and EDM have respective Windows Services responsible for communicating with our server. Occassionally, ...
    • Data Integration Module (DIM) Migration Guide

      Overview This article provides the information necessary to migrate the Field2Base Data Integration Module (DIM) over from one server to another. Please refer to the DIM Install Guide for the initial installation of the Field2Base DIM. Once that's ...
    • Mobile Forms iOS Enterprise App Upgrade to the Mobile Forms iOS App Store

      Overview This guide will review how to switch between two versions of the Mobile Forms app, uninstalling the Enterprise build and installing the App Store Build. The primary benefits of switching over are that updates to the App Store build are ...
    • How to Check the Version of Integration Products Running on a Windows 10 Machine

      Right-click on the Start menu button. Click on Apps & Features. In the Apps & Features search bar type in the Integration Product you are looking for, eg. F2B Data Integration Module, F2B Data Upload, or F2B Enterprise Dispatch Module. Click to ...