Check enums by its value attribute
Set always non existings arrays in form as 0-elements arrays.