Skip to content
Open Vivreal

Content Fields

Choose what information each item holds, like title, price, photo, or date

intermediate10 min readUpdated For portal users

Content Fields

Every content type has a set of fields, and those fields decide what you fill in each time you add something. Set them up once and Vivreal builds the form for you. No code involved.

What fields do

Fields are the blanks on the form. Each one has a name, a type (text, photo, date, and so on), and a setting for whether it is required. When you add a new item, the form you see is built from exactly these fields.

A "Blog Posts" type might have:

  • Title: Short Text (required)
  • Body: Structured / Long Text
  • Author: Short Text
  • Publish Date: Date
  • Featured Image: Image
  • Category: Custom Choices

Opening the field editor

  1. Tap Content in the bottom navigation bar.
  2. Tap the content type you want to change. Its dialog opens.
  3. Your current fields are listed there. You can add, remove, or reorder them right in that list.

Field types

These are the types you can pick from:

TypeWhat it holdsGood for
Short TextOne line of textProduct name, author name
Structured / Long TextFormatted text with headings, bold, and listsBlog body, product description
Whole NumberA number with no decimalsQuantity, stock count
Decimal NumberA number with decimalsPrice, rating
True / FalseAn on or off switchIs featured, is published
DateA date pickerPublish date, event date
Date & TimeA date and a timeAppointment time, event start
TimeA time on its ownOpening hours, schedule
Custom ChoicesA dropdown you fill with your own optionsCategory, status, priority
ColorA colour pickerBrand colour, accent colour
Slug (URL Name)The short name that appears in the web addressPage address, tidy links
ImageA photo uploadFeatured image, headshot
VideoA video uploadProduct demo, hero video
File UploadAny filePDF attachment, document
GallerySeveral photos or videos in one fieldProduct photos, hero slideshow
List of ItemsA simple list you type outIngredients, features
Linked Content TypeA pointer to one item of another content typeLink an author to a post
List of Linked ItemsPointers to several items of another content typeRelated products, tagged items

Options like size and colour

Variants are not a field type, so you will not find one in the list above.

They are set up separately, from the Variants button at the top of the content type's own page (on a phone it is Manage Variants in the menu). That is where you define options like Small, Medium and Large, and decide which of your other fields change with the choice, so a large can cost more than a small.

Products that came from Stripe or Square

If your products sync in from a payment provider, their variants are managed on that channel's page instead, because the provider is the source of truth for them. See Connect Stripe or Connect Square.

Adding a field

Click Add Field

In the field list, click Add Field to create a new one.

Name the field

Give the field a name. This is the label you will see on the form every time you add an item, so write it the way you would say it out loud ("Title", "Price", "Featured Image").

Choose the field type

Pick a type from the dropdown. The type decides what kind of box you get on the form: a text box, a date picker, a photo upload, and so on.

Configure options

Depending on the type, you may see extra settings:

  • Required: turn this on to make the field mandatory.
  • Options: for Custom Choices and Variant fields, click Options to type out the list of allowed values.
  • Affects: for Variant fields, click Affects to pick which other fields this one controls.

Save

Click Save. Items you already added are left alone, so a new field shows up empty on older items until you go back and fill it in.

Changing a field's type after you already have items can make them display oddly. If you need a different type, it is safer to add a new field and move the information across yourself.

Variant fields

Variant fields are for anything sold in more than one option, like a shirt in several sizes and colours. They set the options a customer chooses between.

When you add a Variant Field, you type out the possible values ("Small", "Medium", "Large") and pick which other fields it affects ("Price", "SKU"). Then, when you edit an item, each option gets its own box for those affected fields, so a Large can cost more than a Small.

Variant fields are mainly for things you sell. If you are building a blog or a portfolio, you can skip this.

A few tips

  • Name fields plainly: "Featured Image" and "Publish Date" beat "img1" and "date2", especially once someone else on your team is filling them in.
  • Mark the essentials required: it stops half-finished items getting saved.
  • Use Structured / Long Text only where you need it: it is great for a blog body, but plain Short Text is better for names and titles.
  • Sketch it out first: changing fields once you have hundreds of items is tedious. Five minutes of planning up front saves a lot later.

Next steps

With your fields set up, you are ready to add and edit items.