April 2018
Beginner to intermediate
440 pages
11h 36m
English
The form data will be submitted with the POST method. Once the Add Arena button is pushed, the data inside the entry forms are submitted:
<form method="post" class="form"> Name: {{form.name}}<br> Longitude: {{ form.longitude(class_ = 'form-control first-input last-input', placeholder = form.longitude.data, ) }} <br> Latitude: {{ form.latitude(class_ = 'form-control first-input last-input', placeholder = form.latitude.data, ) }} <br> <input type="submit" value="Add Arena"> </form></body></html>
Clicking on the button will submit the data to the view function. The data will be processed, and a success JSON message returned: