Field property defaults.pl

From EPrints Documentation
Jump to: navigation, search

field_property_defaults.pl sets the defaults for various properties of fields. This is encompassed within $c->{field_defaults} and includes:

  • input_rows - Number of rows (i.e. height) for fields.
  • input_cols - Number of columns (i.e. width) for fields.
  • input_name_cols - Number of columns (i.e. width) in the individual input fields fields (honourific, given, family, and lineage) for EPrints::MetaField::Name fields.
  • input_add_boxes - Number of extra boxes/rows to add for entries to a multiple field.
  • input_boxes - Number of initial boxes/rows for multiple fields.
  • digits - Maximum number of digits allowed for EPrints::MetaField::Int fields.
  • search_cols - Number of columns (i.e. width) for the input for searching on fields.
  • search_rows - Number of rows (i.e. height) for the input for searching on fields.
  • hide_honourific - Hide the honourfic input field for EPrints::MetaField::Name fields.
  • hide_lineage - Hide the lineage input field for EPrints::MetaField::Name fields.
  • family_first - Whether to render the family input field before given input field for EPrints::MetaField::Name fields.