Building SmartForms for Mobile Devices

The following table displays links to design and configuration options when creating SmartForms for use in mobile browsers or the K2 Mobile App.

Certain features and controls are only available when using the app, while other features and controls work in both the app and in mobile browsers.

Option App/Browser Description
Application Forms App Application Forms are forms shown in K2 Mobile and are typically used to capture data, start a workflow, or used for reporting. See Application Forms for more information.
Barcode Control App The Barcode control allows you to capture barcodes in a form when using the K2 Mobile app. You must configure this control when you're designing the form, and configure rules to handle the events and data captured. See Barcode Control for more information.
Deep Linking Browser - iOS only Deep linking allows you to link Application Forms from a source external (typically a browser or email) to K2 Mobile on iOS. See Deep Linking for more information.
How To: Use Mode Conditions App and Browser Mode conditions allow you to build rules in views and forms for when they are offline. See How To: Use Mode Conditions for information.
Image Annotation Control App The Image Annotation control allows you to mark and annotate images when using the K2 Mobile app. You can display the annotated image on a form or save it to a SmartObject for later use. Use this control, for example, to sign an expense claim before submitting it. See Image Annotation Control for more information.
Responsive themes App and Browser The responsive themes listed below are available for use in mobile browsers or the K2 Workspace (Mobile) apps. These themes are designed to be used on touch interfaces such as tablets or smartphones as well as desktop-size screens. The themes adapt to screen sizes by resizing and moving elements for an optimal viewing experience. See Theme for more information.
  • Lithium theme
  • Blue Void
  • Grey Void
Offline Forms App Offline Forms allow you to cache data used in the form when a device doesn't have an active connection. You can access and action these forms in K2 Mobile while not connected, to the internet. See Offline Forms for more information.
Control Support For Offline Forms App Only certain controls can be used in offline forms. See Control Support For Offline Forms for more information.
Save a Form as a Draft before Submitting it App and Browser

When you use forms on your mobile device, you may need to save your current work as a draft to resume later, or to work on the form while you are offline. When you select to save your form as a draft, it is saved to the Drafts folder in the K2 Mobile App. See How To: Configure Forms with Draft Functionality and Drafts in Android for more information on saving a form as a draft in K2 Mobile before submitting it.

Note that you can only save a form as a draft containing a particular rule (Submitting rule event). If this rule is not present in the form, you do not see the option to save it as a draft.

Certain controls support saving a form as a draft. If you use these controls on your view or form, select a value and then save the form as a draft, the values are saved until you submit the form. The following controls support saving a form as a draft:

If you use a control that is not supported on a form that you save as a draft, the data you select in the control is not saved in the draft.

You must create rules to submit the form and move it from the Drafts folder to the Outbox folder. See Configuring Forms to Save as a Draft for information on how to configure these rules.

Automatic Lock App The Automatic Lock option allows you to configure the time period until a mobile user is locked out of the app due to inactivity. See Automatic Lock for more information.
Feedback Link App The Feedback Link option allows you to configure the URL of the Feedback link. See Feedback Link for more information.

Configuring Forms to Save as a Draft

When you save a form as a draft in K2 Mobile, you must create rules to submit the form and move it from the Drafts folder to the Outbox folder. See Rules, Events and Actions for important notes when you configure these rules.