Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A schema is created with the template for one field in the edit window using the following values for each element of the field.

  • Fields (fieldType). URL (url), Text (text), Rich Text (richtext), Media Embed (embed), File Upload (file), Date (Date), DateTime (datetime), Checkbox (checkbox), Dropdown (select).

  • Key. Use lowercase alphabetic letters without spaces.

  • Label. Use CamelCase letters.

  • isDefault. Boolean (true or false). This feature has been deprecated. The default value is false.

  • Validation. The An array of with the “required” object, which can be true or false.

  • Options. Empty array for all except checkbox and dropdown which have a key/value pair.

  • Type. String, object, or array.

...