forms: convert initial int to list of flags