Enables DNA-binding transcription activator activity, RNA polymerase II-specific; RNA polymerase II cis-regulatory region sequence-specific DNA binding activity; and chromatin binding activity. Involved in several processes, including negative regulation of detection of glucose; negative regulation of glucokinase activity; and regulation of transcription, DNA-templated. Acts upstream of or within several processes, including animal organ development; chordate embryonic development; and regulation of neuron differentiation. Located in nucleus. Part of transcription regulator complex. Is expressed in several structures, including central nervous system; endoderm; genitourinary system; gut; and respiratory system. Human ortholog(s) of this gene implicated in type 2 diabetes mellitus. Orthologous to human FOXA2 (forkhead box A2). [provided by Alliance of Genome Resources, Apr 2022]