How can I send a response to the submitted form?