1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Form
<< Back to main
There's a good article on form functionality in HTML.
Below are listed several demos on howto handle forms within the framework while writing your apps.
You can use these examples for your own implementations.
Form Method Post Url Encoded Enctype
FormUrlEncodedEnctypePostMethodController controller capable of handling form with method POST and enctype application/x-www-form-urlencoded submission.
Field 1:
Field 2:
Save
Form Method Get
FormGetMethodController controller capable of handling form with method GET and without enctype specified. Most reliable method for submitting the form, works among all popular browsers.
Field 1:
Field 2:
Save
Form Method Post Multipart Enctype
FormMultipartEnctypePostMethodController controller capable of handling form with method POST and multipart/form-data enctype.
Note: Even though such kind of form by spec supports file upload, in practice it won't work, however, server by itself, supports file upload.
Field 1:
Field 2:
Save