check data in input forms