Whenever you're ready, walk me through how you'd approach this.
How would you write a function to validate user input in a web application?