Hidden field
Component ID
1315868
Component name
Hidden field
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
This module allows to create hidden fields.
Example:
$field = array(
// Set up your field array as usual.
);
$field['settings']['hidden'] = TRUE;
field_create_field($field);
Hidden fields are removed the administrative interface, as well from editing and viewing screens. They use a special 'hidden' widget and the special 'hidden' formatter provided by core.
