Repository navigation
Hidden
Viames Marino edited this page Feb 26, 2026
·
2 revisions
Pair\Html\FormControls\Hidden renders <input type="hidden">.
render(): string- Inherited methods from FormControl:
value(),id(),data(),form().
$csrf = (new \Pair\Html\FormControls\Hidden('csrfToken'))
->value($token)
->id('csrf-token');
echo $csrf->render();Use hidden controls for state/IDs/tokens, but never trust them without server-side checks.
See also: FormControl, Form.
Maintained by Viames Marino — VM Ingegneria · Professional enquiries
Home · Setup · Configuration
Build with Pair 4
- Generator
- Controllers and responses
- Read models
- ActiveRecord and queries
- Forms and validation
- PairUI.js and HTML fragments
APIs and authentication
- API guide and CRUD
- Middleware and rate limits
- Users, sessions, and ACL
- Passkeys and social login
- Native mobile setup
Integrate and operate
- Integrations
- Runtime extensions and adapter keys
- Cache and cache stores
- Logs and observability
- PWA and push
- Packages and distribution
- Upgrade to v4