DIALOG ATTRIBUTES(UNBUFFERED) INPUT BY NAME field DISPLAY ARRAY list TO list.* ON ACTION dialogtouched -- whenever the value of field changes, alter the items displayed in the array IF FGL_DIALOG_GETFIELDNAME() = "field" THEN CALL populate_array_based_on_what_is_entered(FGL_DIALOG_GETBUFFER()) END IF