barCode validate befor submit