Setting messagestatus on multiple fields

Setting messagestatus on multiple fields

Is there a way to set the messagestatus to multiple fields? for example if you're doing some sort of total calculation with subtotal, gst + total, can you set all 3 to be rejected with the one rule assuming the calculation failed?

If the ability doesn't exist, I'll just write my own function to be able to do it, I'm pretty sure I know how to. I just don't wanna write something that might already exist.