Hi goodevening..May I ask a help if it's ok..

i was creating a game like an adventure game but before you can proceed to level 2 you will need to answer a question from an NPC ...my problems are ..it is possible that in the last part of the dialogue question an input field will pop up so that the player can answer it by typing the word..another one is if the correct answer to the question is "hate" how can i check if the player input is correct...thanks and Godbless..i've been searching in the net for almost 3 days Sad but found nothig...i'm using unity 5.3.1 p1..