Creating a plain text field
You can create a plain text field in which content authors can enter alphanumeric values into a field.
Procedure
- In the Design tab or Metadata Design tab of the Schema that you are creating, fill in the following fields:
- XML Name—this is the XML name of the field. The XML name can only contain letters without accents (A-Z, a-z), digits (0-9), underscores "_" and/or hyphens "-". The first character of the XML name must be a letter or an underscore character.
- Description—a description of the field. This description is used as a label in the Component.
- Type—select Text.
- Specify how many rows the field should contain.
Note: This setting does not constrain how many characters a user can type in the field, it only specifies how large the text field will appear in the Component editing form. To constrain the number of characters allowed in a field refer to Constraining field content.
- To allow multiple field of this type, select Allow multiple values. This setting allows a content author to add more than one value to this field.
- Optional: To add default text to this field, enter text in the Default Value field. This text will appear in the field when a content author creates new content based on this Schema.
- If you want to enforce that a field is filled in, ensure that the Mandatory check-box is selected.
- In the Custom URL field, type the URL of to which you would like the description text of this field to link.
Related concepts