Error checking for BOM text boxes