We're going to look at processwire fields, what they are, and how you can create them.
Fields for your templates are listed on this page.
When you first create a field, you have a few options to begin with.
Name: The name of the field which is saved to the database. Use only ASCII letters (a-z A-Z), numbers (0-9) or underscores.
Type: Out the box options are:
Label: This is what will be displayed as the field label when the page is being edited.
There are a couple of fields that are useful but disabled by default. They can be enabled and will then be selectable when you create a field.
Select the 'Add New field' button and fill in the 'Name', select a 'Type' (text) and fill in the 'Label'. Label is what will appear when a user edits a page which has this field on it.
Text formatters: We don't want any HTML characters allowed so we can use automatic formatting of the field. Select 'HTML Entity Encoder (htmlspecialcharacters)'.
Visibility: How the field will displayed on a page edit screen.
Column width: You can change the width of the column so that two or more fields can be horizontal on a page edit screen.
Required: Make this a required field. On page save, the user will get a warning that this field is required.
Min/Max length: Minimum and maximum length of acharacters allowed in the field.
Counter: No counter, character counter or word counter. If character/word counter selected, the maximum length setting above will be enforced but with handy twitter style character count.
Strip tags: Select this to strip all HTML tags from the field. Recommended if they are not required.
Placeholder text: This will be shown (slightly greyed) in the field itself. You could use it as a prompt i.e. if the field needs a name, you could write a placeholder like 'Enter name here'.
Pattern: Use this if your field needs a specific string inside, like a name with firstname and surname.
Front-end editing: Not enabled by default. You would need to install the front-end page editor module, but when installed, if a user has the correct permissions, they can double click on a piece of text output from this field and edit it right there on the web page, no admin area required. Which is pretty cool!
No need to do anything here. You could control acces to the field if required.
No need to do anything here. The descriptions are well written and self explanatory.
Add/remove: Super useful for batch adding or removing the field, to or from templates.
Duplicate/Clone: Duplicate or clone the field. This can save time if you need two fields of the same type but with partially different settings.
Check field data: Check for unused data and then provides options for next steps (optimization setting).
NOTE: Deleting the field will delete it from ALL templates that use it, thus also deleting the data.
If the field has been added to a template, you must remove that field from the template before deleting the field here.
Please note: I do not store any of this information, it's simply used to send me an email. Your email address is required so I can get clarification on your request if needed.