validation text doc