Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Slug Fieldtype

A text field that has the ability to automatically "slugify" the value of any other string field to create-your-very-own-lowercase-without-spaces string of your own. This is primarily used to create a entry URL slugs based on the title field of that same entry.

Screenshot of Slug Screenshot of Slug
The Slug Fieldtype in action!

Options

from

string
Target field to automatically create a slug from. **Default:** `title`

generate

boolean
Whether to generate the slug automatically. **Default:** `true`