processwire-field-configuration

Configure ProcessWire Field objects and Inputfield classes with access patterns.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill processwire-field-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: processwire-field-configuration
Source: https://github.com/webmanufaktur/pwaiworkflow/tree/main/.agents/skills/processwire/field-configuration
Command: npx skills add https://github.com/webmanufaktur/pwaiworkflow --skill processwire-field-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill clarifies the often-confusing aspects of ProcessWire field and inputfield configuration, providing clear patterns for accessing and managing settings.

Core Features & Use Cases

  • Field vs. Inputfield: Understand their distinct roles and how they interact.
  • Configuration Storage: Learn where and how field settings are persistently stored.
  • Access Patterns: Master the recommended $field->get() method and when to use others.
  • Use Case: When developing a custom Fieldtype module, you need to ensure its configuration options are correctly saved and retrieved. This Skill provides the exact methods and context for doing so reliably.

Quick Start

Use the processwire-field-configuration skill to understand how to access the 'textformatters' setting for a given field object.

Frequently Asked Questions about processwire-field-configuration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I access field configuration settings in ProcessWire?

To access field configuration in ProcessWire, use the recommended `$field->get()` method on the Field object. This universal access pattern reliably retrieves stored settings across different field types and contexts.

What is the difference between Field and Inputfield classes in ProcessWire?

Field objects in ProcessWire define the data structure and persistent storage, while Inputfield classes handle the rendering and user interaction. Understanding their distinct roles clarifies how settings are managed and accessed during module development.

Where does ProcessWire store field configuration data persistently?

ProcessWire stores field configuration data persistently within the Field object's database tables. Mastering these configuration storage mechanisms ensures your custom Fieldtype module options are correctly saved and retrieved without data loss.

How do I retrieve textformatters settings for a ProcessWire field object?

To retrieve textformatters settings for a ProcessWire field, apply the `$field->get('textformatters')` access pattern. This method securely fetches the specific configuration values attached to the Field object.

Can I use hooks to access field specific configuration in ProcessWire?

Yes, ProcessWire supports hook-specific configuration access for Field objects. When developing modules, you can hook into the field lifecycle to dynamically read or modify configuration settings using the established patterns.

Why are my custom Fieldtype module configuration options not saving in ProcessWire?

Custom Fieldtype configuration options fail to save when the Inputfield and Field object relationship is misunderstood. Ensure you use the correct `$field->get()` access pattern and storage mechanisms to reliably persist module settings.