Ensuring valid responses

How can I ensure that a respondent is entering only the sort of data the questions expects?

Look at the validation recipies at

https://surveyengine.com//surveyengine-software-documentation/the-editing-phase/edit_page_screen/validation-recipies/

and also Tutorial 5 - Validations

https://surveyengine.com/software/software-tutorials/