Changes to allow value and text to be different

Added a hidden input that will be set to the select list value when an
option is selected, or a value entered manually.