A cheat sheet for use when building forms, metadata templates, etc.
About This Article
This article will familiarize you with building forms and requests using custom fields. By the end, you should be able to use custom fields wherever they appear within Crescat.
Contents
Field Sizes
Large fields take up an entire row on their own. Medium fields only need half a row and Small uses 1/4th of the row's total width.
Rows can contain 1 Large item or up to 2 Medium items, 4 Small items, or 2 smalls and a medium. If you try adding any more items, they will be placed on the next row.
You can indicate that you'd like to start a new row at any point. To do so, click the pencil icon of the field that you'd like to make the last item, then click Linebrake After and click Update.
Any fields that were after that element will slide down to the next row; if there were fields already on that row, all fields that still fit will remain while everything else will be pushed lower.
Field Types
There are currently 10 different types of fields. Here's a quick overview of each of them.
Text
This is just plain text without styling or formatting.
Rich Text
This field has formatting controls to help organize thoughts and draw attention to key info, like a regular text editor.
Number
This field only accepts numbers. Most browsers will add special controls to number fields for incrementing and decrementing the number entered in the box, which is great for keeping track of the count of things.
Toggle
A switch, like a checkbox, can show completion of a task and may also convey a positive or negative response, like yes/no, agree/disagree, etc.
List
Often called a drop-down box, a list allows the user to select an option from a list of alternatives.
Date
A simple way to select a year, month, and day.
Upload Document
Opens a file upload menu which gives the user many good options for uploading files. They may upload a file via their local files, camera, direct link (URL), Facebook, Google Drive, Google Photos, Dropbox, Instagram, Evernote, Flickr, or OneDrive.
Time
The user may enter up to 4 numbers. This field will automatically format the numbers in this pattern: ##:##
Multi-Select
Multi-Select field types are set up and function like List field types, except the user can select as many items in the list as required.
Table
The Table field type lets you define the Columns it should have. Then, user's can add and fill out the table's Rows.
And that's it! If you came here from another article, then this page likely opened in a new tab and the main article is probably in the tab to the left of this one. Either way, please let us know below if this article helped you understand field types.
All the best from us at Team Crescat!