DATA STRUCTURES

Field Types

4min
field types available a list of field types available on siteglide and the corresponding platformos data type applicable to them name siteglide type platformos type text (string) input text string text (multiline) textarea string checkbox input checkbox array radio button input radio string dropdown (single item) select string dropdown (multi item) select multi array datasource (single item) datasource integer datasource (multi item) datasource multi array image (single) image string image (array) image array array file file string folder folder string date date integer number (integer) number integer integer number (float) number float float boolean boolean boolean custom array array custom array where are these field types available to use as custom fields? modules all field types webapps all field types ecommerce products all field types crm users all field types forms all field types except custom array custom field sets all field types except custom array form configuration metadata options all field types have the following metadata options name type notes name string the field name to be shown in siteglide admin ui type string the field type in the 'siteglide type' column above live boolean determines whether or not the field is shown or used anywhere hidden boolean determines whether or not the field is shown in siteglide admin ui order integer the position the field is shown in siteglide admin ui and import csvs editable boolean determines whether you can edit this metadata in the siteglide admin ui builder views required boolean determines whether it is required to fill in this field in siteglide admin ui and front end forms some other metadata options are available to specific field types name type available for notes rich text boolean textarea determines whether the rich text editor appears in siteglide admin ui for this field options string input checkbox input radio select select multi a comma separated string of options to be displayed for this field in siteglide admin ui datasource id string datasource datasource multi the id of the model you want options to show from for this field in siteglide admin ui this includes the type, for example webapp 1 num min string number integer number float the minimum value this number field will allow the user to select num max string number integer number float the maximum value this number field will allow the user to select num step string number integer number float the amount the number will change by using the number scroller in siteglide admin ui num precision string number integer number float the amount of decimal places shown in siteglide admin ui