iFormBuilder Reference IDs
What's covered:
What are Reference IDs?
Reference ID's leverage special functions built into the platform such as determining which fields are displayed in a record view, segmenting an Option List and deciding which elements show on your email and PDF reports.
How do I define which fields show in the Record View?
By default, the Record View on the device shows the first three elements of the form.
If you would like to specify which fields show in the Record View, please follow the instructions below.
PLEASE NOTE: In this example, we'll be changing the display order to show the second, fourth and sixth fields.
STEP 1. With your form loaded in the Form Builder, click the Edit Form Properties icon.
STEP 2. Click on the Advanced Properties tab
STEP 3. In the Reference ID 2 field, put the following:
DISPLAYFIELD=1,3,5
We are using Element Sort Order to obtain these numbers. This can be found under the Element Properties of each element.
STEP 4. Click Save Changes.
STEP 5. Test on your device. You'll see the new fields showing in the Record View.
PLEASE NOTE: If an element is disabled, the index will SKIP those elements and continue with the next element. For example, if "Element sort order: 1" is disabled, then "Element sort order: 2" will have an index of 1.
Also, when using this feature do not reference an element index value larger than the max element index on the form or you will not be able to view data in record view.
Comments
0 comments
Please sign in to leave a comment.