ErstwhileControl is the base class for form control components in Erstwhile. These exist mostly to gather input from users.
Following the HTML convention it is recommended that each of these have a name attribute indicating the name to be used within the context of the entity their data represents.
Note: It is important to remember that the getValue() method returns an object rather than a single value, with (by default) the name attribute defining the key and the control’s value as the value. This is to enable more complicated custom controls that may need to return multiple values at once, like a date control that has each of the date parts in separate fields with names like yourname_month, yourname_date, and yourname_year.