Bind to Global Values
Learn How to Bind to Global Values, Quickly!
Sometimes you may want to store data as global values on a mobile device to be re-used in one or more screens. You can use the app settings option “Remember My Answers”, but what if you don’t want all of the answers to be prepopulated in a form. You only want the customer information to be prepopulated on form load.
One way to handle this is by using the option “Bind to Global Value” on a field’s properties. Simply specifying a key name on the field’s properties will force the app to store a dictionary of Key: Value pairs on the device for later use.
To demonstrate this follow these steps:
- Start out with a “Data Entry” screen type
- Add a choice field to your new form called “Customer”
- Add some choices either by adding static text or connecting to an existing data source
- Scroll down on the “Customer” field’s properties until you see the option “Bind to Global Value”
- Type in the word “Customer”.
- Next add a text field to your form called “Address”
- Scroll down on the “Address” field’s properties until you see the option “Bind to Global Value”
- Type in “Customer Address”
- Put your form in TEST mode or Publish
- Now login on the mobile device, and launch your new screen
- Select a Customer and type in an address
- Submit your form.
- Congratulations! You just created a dictionary for “Customer:Value” and “Customer Address:Value” to be stored on the device. When the app syncs, launch the same form and you will see both Customer Name and Address are prepopulated with your latest submission values. You can even bind fields from other screens to the same global values to persist the default values across multiple screens.
This is just one small, but powerful, example of how you can use global values on a mobile device with Forms On Fire. Enjoy!
Supported Devices
iPhone - iPad - iPod
Android
Windows 7 & 10
Standard Features
Powerful Drag N' Drop Form Designer
Secure Web Dashboard
Works Offline
Dispatch & Workflow
Image Capture, Annotation & Sketching
Audio & Video
GPS, Mapping & Navigation
Barcode & NFC Scanning
Signature Capture
Data Lookup From Your Systems
Excel & Word Templates
Email PDF