GlideForm - removeOption(String fieldName, String choiceValue)

Removes the specified option from the choice list.

Table 1. Parameters
Name Type Description
fieldName String Name of the field.
choiceValue String The value stored in the database. This is not the label.
Table 2. Returns
Type Description
void

g_form.removeOption('priority', '1');