GlideForm - addOption(String fieldName, String choiceValue, String choiceLabel)

Adds a choice to the end of a choice list field.

Table 1. Parameters
Name Type Description
fieldName String The name of the field.
choiceValue String The value to be stored in the database.
choiceLabel String The value displayed.
Table 2. Returns
Type Description
void

g_form.addOption('priority', '6', '6 - Really Low');