collect msg from form flag