+ var $id = ''; // Control id.
+ var $name; // Control name.
+ var $form_name = ''; // Form name the control is in.
+ var $value = ''; // Value of the control.
+ var $size = ''; // Control size.
+ var $max_length = ''; // Max length of text in control.
+ var $on_change = ''; // What happens when value of control changes.
+ var $on_click = ''; // What happens when the control is clicked.
+ var $label = ''; // Optional label for control.
+ var $style = ''; // Control style.
+
+ // TODO: refactoring ongoing down from here.