add function <getFieldOptionReferenceType>