Microsoft Office InfoPath validate entry

I am a complete newbie to InfoPath.
My question is, "In Microsoft Office InfoPath, is there a tool to validate data when users enter an invalid entry so that users would not be able to provide an answer which is irrelevant to my research?

