Hidden fields galore.
Field Hidden defines five hidden field types
- text, long text
- integer, decimal, floating-point
Hidden in forms
Hidden fields are always rendered as <input type="hidden" /> elements in forms.
Optionally displayed in content
The value of a Field Hidden field defaults to be hidden in content - as in not rendered at all.
It may however be displayed in content, if another format than <Hidden> is selected in the content type's 'Manage Display' section.
The numeric types have exactly the same formatting options as ordinary numeric fields (the Number field module, e.g. prefix, suffix, thousand marker, decimal marker).
Visible default value
Setting the default value of a field - in instance settings - is kind of hard when it's hidden.
For ease of access, this module includes a small feature which turns the default value field into a visible text field. May be turned off via the administrative settings.
Validation and escaping
The values of all the field types are being validated and escaped according to coding standards, or stricter.
None of the text types allow for HTML/PHP input (nor output).
The only difference between text and long text is the database data type used - varchar versus text.
Tokens, Entity API and Migrate integration
Makes Field Hidden fields usable in conjunction with Pathauto patterns, Rules, etc.