iFormBuilder Reference ID
- What is a Reference ID?
- Page Level: Reference ID 1
- Page Level: Reference ID 2
- Page Level: Reference ID 4
- Option List Reference ID
- Element Reference ID
- Form Menu Reference ID
What is a Reference ID?
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.
Page Level: Reference ID 1
Using this Reference ID, only one record can be submitted for that specific date. If a user submits a record on 9/26/17 11:59 PM then they would be able to submit the next record on 9/27/17 12:01 AM.
Using this Reference ID, a form is only available on the device during this timeframe.
With this Reference ID, a user can only submit one record per form. If this flag is applied to a form that has one or more records collected, you will not be able to collect any records with that particular device.
This Reference ID allows you to prepopulate field data from the last submitted record into a new record. The user will need to have a local record on the device to create the copy from. Delete on Upload should be turned off in the device settings.
Using this Reference ID, the user can create a new page for subform(s) in PDF report.
This Reference ID removes options from an Option List after they have been selected. To use, simply define which element should assume this property (defined by the index value). If you have a list composed of options (red, green, blue) and you select "blue" from the list and submit the record to the server, the list will be reprocessed and only show (red, green) as available options for the next record. Because the server has to process the list, the option is only removed after a successful sync with the server. Please keep this in mind during implementation.
No new record is created for the form and no data is uploaded from the device. This is mainly used with forms that provide information only.
Page Level: Reference ID 2
Shows data from specified fields in record view. The numbers represent the element index with the first element always beginning with 0.
PLEASE NOTE: 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.
The primary difference is that SORTFIELD will display and sort the record view of forms (including subforms) according to the element indexes that are defined. If you define more than one element index value then the rows are sorted in that order by the criteria specified.
PLEASE NOTE: If you'd like to sort the records in ascending or descending order, simply put an A or D after the index values. For example:
A represents ascending while D represents descending.
To get the most out of SORTFIELD make sure to combine DISPLAYFIELD reference ID with it in order to show and sort the proper fields.
Page Level: Reference ID 4
This will ensure every record created on this form is deleted when the device syncs the record.
This will save every completed record on this form as a completed record on the device.
PLEASE NOTE: This will ensure every record created on this form is deleted when the device syncs the record. And this only works with iOS devices currently.
Option List Reference ID
This flag should be used in scenarios where you have large (1,000+ option) smart lists broken into many different segments (25+). Lists that leverage this flag should only be used in a hierarchy with their related lists. The "group" of lists may be assigned to more than one form, given the column names for the elements and logic requirements are the same.
PLEASE NOTE: Once you have your lists set up, you need to select "Edit" and "Save Changes" in FormBuilder to trigger the indexing process. You may also need to do a clean local database on the device to update the list.
When using this flag, the record will take some extra time to load, but the list response will be nearly instant when implemented correctly. No added benefit will be noticed with smaller lists.
Element Reference ID
The element will not show up on your reports PDF, Excel, etc. These are great to use for dividers.
Using this in the Element Reference ID will allow you to print Label Elements on PDF and E-mail reports.
The element will not show on PDF Reports and Email Reports but will show in Data Views and Data Feeds.
Upon pressing done on a multi-paging subform, it will open up a new subform record. When you are finished adding subform records, press cancel to return to the parent form.
Using this Reference ID will disable the upgrade to Smart Table Search behavior which displays a list of options instead of having the user to key in the exact value they want to search for.
This Reference ID will keep users from being able to use images in their device library when interacting with the Image Element. (This only works on iOS devices currently)
This Reference ID will force users to use only images already stored on their device and keep them from taking pictures with the Image Element. (This only works on iOS devices currently)
Form Menu Reference ID
This Reference ID changes the color of the form label.
Using this Reference ID changes the color of the status icons along the top of the form label.
Changes the color of the bottom bar and the area surrounding the icon.
Changes the color of the border around the form and the area surrounding the icon.