Basic Forms
In this exercise you create a simple form and send the content to an endpoint
Form Endpoints
To test the form you can use the provided echoserver and run it locally on your machine, just clone the repository at https://github.com/mzeiher/webengineering
Exercise
Use the template of the the exercise Basic Structure and add form with the following fields
- a form field of type text to enter the forename
- a form field of type text to enter the surname
- a form field of type select to select the gender (don't tell, diverse, male, female)
- a form field of type textarea to to add some notes
- all form fields need appropriate labels
- a submit and a reset button
- the form request must be URL encoded and be send to the url http://127.0.0.1:8081/url (if you run the echoserver on your local machine)
- Extra: if possible use a
table
for the form to display
Solution
Linkformdata.solution.html