How do I extract the text submitted in a form?