enum: implemented enum on lists and forms