Field types
What each kind of component stores, and what you can set on it.
This page helps you choose the component that matches the data you want to store, and set it up so it is easy to fill in.
Which components there are
Each kind of component can store into only one type of field. The component's card says which in Field type.
| To store | Use the component | Field type |
|---|---|---|
| One line of text | Text field | String |
| Long text over several lines | Textarea | String |
| An answer from a set of choices | Select | String |
| A number | Number field, Slider or the stars Rating | Number |
| Yes or no | Checkbox or Switch | Boolean |
| A date or a time | Date picker, Time picker or Date and time picker | Date, Time or Date and time |
| A record from another table | One-to-one select or One-to-many select | One to one relationship or One to many relationship |
| A file or picture | File input | Multiple attachments |
| A place on a map | Geometry editor | Geometry |
| A heading or instruction in the form | Text | None needed |
Common settings
Press the gear icon, Settings, on the component, then look in the Settings panel.
| Setting | Result |
|---|---|
| Description | The name of the box that people filling in see |
| Placeholder | Faint text in the empty box, saying what to enter |
| Default value | A value put in beforehand |
| Required | Makes it compulsory. While it is empty, the Submit button cannot be pressed |
| Readonly | People filling in see the value but cannot change it |
| Disabled | The box is grey and cannot be used |
The Styles panel changes the Color and the Component style. The Preview panel shows what the box really looks like.
Some components lack some of these. For example, Checkbox and Switch have no Required.
Set the choices to pick from
- Open Settings on the Select component, then open Options.
- In the empty row at the end of the table, type the Value that is stored in the table and the Text that people filling in see.
- Press the plus button at the end of the row.
- Repeat until done. Drag a row to reorder, or press the trash icon to delete an option.
Numbers
- Number field and Slider let you set a Min value and a Max value.
- Rating lets you set the number of stars in Length, from 1 to 10.
In a Number field, if the person filling in types a number above the Max value, the form still accepts it without warning, because these two values control only the arrow buttons. To really limit the range, use a Slider.
Choose records from another table
One-to-one select picks one record. One-to-many select picks several records.
The person filling in chooses like this:
- Press the icon at the end of the box. The Select data window opens.
- Type in the Search data box and press Enter.
- Click the record you want, then press Select.
Files and pictures
In Settings of File input:
- File type: choose Any, Images or Documents. Documents are Word, Excel, PowerPoint and PDF files.
- Tick Multiple to allow more than one file to be attached.
Files are sent with the answer when Submit is pressed. If a file is larger than the field accepts, the box says "File is too large" and the Submit button cannot be pressed.
Text
Use it to put a heading or an instruction in the form. Type in the Value box, then adjust the Size, Alignment and Weight of the letters in the Styles panel.
A place on a map
See The geometry field.