+ 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 lenght of text in control.
+ var $on_change = ''; // What happens when value of control changes.
+ var $on_click = ''; // What happens when the control is clicked.
+
+ // TODO: refactoring ongoing down from here.
+ var $mOnKeyPress = ""; // This is only used in TextArea, consider moving out of the base class.