form builder element types
What is the Image widget?
The Image Widget allows a user to add an image to a form by either taking a picture with the device's camera or selecting a photo from the user's device library.
You'll need to make sure that the iForm app has been given permission to use the device's camera.
How do I add the Image widget to my form?
To add the Image widget, please follow the instructions below.
From inside the form builder, click the Image button from the left-hand menu. You'll see it populate the device view.
On the right-hand side, you'll see the element properties. Enter the name of your element (A), and if you like, a description of what information should be entered in the element when collecting (B).
Note that if you check the Based on Label option, it will create a data column based on the Label on the element.
Save your form.
With the use of the Reference ID 1 field, you can limit the user to either taking new photos are limit the user to uploading photos from the device's library. Please note that this is an optional limitation.
To only allow the user to take a photo put PHOTO_LIBRARY_DISABLED in the Reference ID field.
To only allow the user to use a photo from the device's library put CAMERA_DISABLED in the Reference ID field.