This is a followup on
Item7577: TWiki form field types with configure attributes.
Working on Item7577 I realized that there is no need to store the mandatory and hidden attributes in META:FIELD metadata. The attributes are stored in the form definition and are read there when needed, e.g. when not to show a form field in view mode if the hidden attribute is set.
This bug item removes the attribute from the form metadata.
Example metadata before change:
%META:FIELD{name="Country" attributes="H" title="Country" value="USA"}%
Example metadata after change:
%META:FIELD{name="Country" title="Country" value="USA"}%
--
TWiki:Main/PeterThoeny
- 2014-12-13