setFieldOptions()

set the options for given field

* presents a required parameter

  • field * — The field name
  • options * — The field options