C.D.
First at 7 years old he should be able to make it to the bathroom to get sick unless he is sleeping and wakes up sick. I have severe allergies and know that the coughing can cause you to be sick. At age 7 I would start him on some over the counter allergy medication and see if that will help with the drainage that could be causing him to be sick. However if he is getting sick when something upsets him he may be just looking for attention, in which I would seek professional help for the both of you on how to handle it. Also if he is getting sick on his own I would make him help you clean it up even if it means him gagging and saying he is going to be sick again. Sometimes facing the consequences of what you do helps you clear the issue up.