How do I extract the data submitted in a form?