Input Widgets
Input Widgets are the primary tools for capturing data from your users. They range from single-purpose components like a Signature
pad to the powerful, all-in-one Form
widget. The data collected by these widgets is then passed to your backend logic in the Flow Builder for processing or storage.
Available Input Widgets
The following is a list of the core input widgets available. Each has its own detailed documentation page.
Barcode / QR-Code scan: Uses the device camera to scan and decode all common barcode and QR-code formats.
File upload: Allows users to upload any kind of file (e.g., images, PDFs, CSVs) from their device.
Form: A powerful and highly configurable widget for creating complex forms with various field types, grouping, and validation.
Photo: Lets users take pictures with their device's camera and upload them directly into the app.
Signature: Captures a user's handwritten signature as an image.
Connecting to Backend Logic (Data Binding)
Input widgets send their data to your backend logic via data binding. As explained in the main Widgets guide, you do this by connecting a widget's property (e.g., the formData
from a Form) to the Input of a function. Once linked, any data the user enters into the widget will be sent to the function's input. An input widget can be bound to multiple functions simultaneously.
Automatic Data Isolation (Multi-Tenancy)
The Heisenware platform handles multi-tenancy for you automatically. Any data captured from an input widget is isolated per user. If that data is passed through a flow, it remains isolated for that entire user session, ensuring that one user's data is never mixed with another's. If you need to explicitly reference the current user ID in your logic, you can use the $USER
variable.
Last updated