adds choices to hidden input so that a choice field can be hidden