removeOption(field_name, option_value)

Removes a option from a select box on a form.

Parameters:

  • field_name: String
  • option_value: String

Returns: None

Mutates Self?

Nope.

Examples:

Script

g_form.removeOption('some_field', 'some_option_value');