1
00:00:00,150 --> 00:00:06,630
Hello, friend, welcome back in this video on to discuss about that submission form like here, I have

2
00:00:06,630 --> 00:00:11,250
already filed on the farm and in particular that position, I have defined the three fields.

3
00:00:11,280 --> 00:00:13,010
One is our full name.

4
00:00:13,020 --> 00:00:14,100
That is a date of birth.

5
00:00:14,100 --> 00:00:16,770
And that I'm using email right now here.

6
00:00:16,770 --> 00:00:21,180
If you put some of the name here, if you pull out the date, OK.

7
00:00:21,240 --> 00:00:26,940
And I also define some of that use user email address, click on the submit now consistent showing some

8
00:00:26,940 --> 00:00:32,210
of the error as a forwarding error, because when you actually submitted one on the form, it's actually

9
00:00:32,210 --> 00:00:33,630
defined some of the Tokidoki.

10
00:00:33,750 --> 00:00:36,810
So you have to add some of the token into this form area.

11
00:00:37,080 --> 00:00:41,010
You can see they have also something instruction that is actually our CSF token.

12
00:00:41,010 --> 00:00:43,010
We have to add it in our post area.

13
00:00:43,530 --> 00:00:45,710
So I just simply copy it, OK?

14
00:00:45,710 --> 00:00:50,760
I just simply copied and in our form e-mails into the form e-mail.

15
00:00:50,760 --> 00:00:53,130
So there is are forms after this form here.

16
00:00:53,130 --> 00:00:58,200
We have to do we have to define our this character again and also into the form area.

17
00:00:58,200 --> 00:00:59,460
I'm just making up things to.

18
00:00:59,610 --> 00:01:03,420
And that means you shall be redirected to our this same page.

19
00:01:03,430 --> 00:01:05,100
That means in our farmers Tamalpais.

20
00:01:05,100 --> 00:01:07,350
And here I define that methode as a post.

21
00:01:07,360 --> 00:01:10,950
OK, better to do and define that as a capital post.

22
00:01:11,310 --> 00:01:12,660
So here I define as a post.

23
00:01:12,660 --> 00:01:17,430
That means when you click on the submit then it should be the key to our view pays into the view because

24
00:01:17,430 --> 00:01:20,820
I have defined already one of the function as a form function.

25
00:01:20,850 --> 00:01:21,150
Right.

26
00:01:21,480 --> 00:01:22,950
So did the request previously.

27
00:01:22,950 --> 00:01:25,260
I have already created on the object.

28
00:01:25,270 --> 00:01:29,270
So that is R with the form our form, user user form.

29
00:01:29,280 --> 00:01:31,110
That means, you know, the user form.

30
00:01:31,110 --> 00:01:33,240
I have defined this field.

31
00:01:33,270 --> 00:01:38,730
One will be as a user name, that is our user DB and the user email.

32
00:01:38,730 --> 00:01:39,090
Right.

33
00:01:39,390 --> 00:01:41,750
So that is all our actually our name.

34
00:01:42,000 --> 00:01:44,630
So now it to do and actually store all the data.

35
00:01:44,640 --> 00:01:49,950
So first of all I want destroy all the data and then I want to do and visible all the data so the,

36
00:01:50,370 --> 00:01:53,000
all the data in the same page that is in our form page.

37
00:01:53,400 --> 00:01:56,280
So if you want to display then you have to do we have to work.

38
00:01:56,280 --> 00:01:59,760
In our view that means here I want to defining it.

39
00:02:00,180 --> 00:02:02,850
So for doing this, that is our library.

40
00:02:03,060 --> 00:02:05,070
OK, that means here I have already defining it.

41
00:02:05,070 --> 00:02:09,510
So after that I just pass it in our form, a stable place.

42
00:02:09,510 --> 00:02:11,850
And I want to do first of all, I want to check it.

43
00:02:12,180 --> 00:02:16,170
So if you want to check it for doing this, I define of the if condition.

44
00:02:16,170 --> 00:02:16,710
Sorry.

45
00:02:17,260 --> 00:02:21,920
So here at the front of the if condition and the F here, first of all, I want to check it.

46
00:02:21,930 --> 00:02:23,550
So here that is already Crysta.

47
00:02:23,850 --> 00:02:26,020
So with this request, I want to check it.

48
00:02:26,040 --> 00:02:28,380
This form that I posted are not OK.

49
00:02:28,390 --> 00:02:31,640
So that means here I defined the policy post from here.

50
00:02:32,040 --> 00:02:36,640
So now to do and define some of the condition as if our district is.

51
00:02:36,660 --> 00:02:41,580
That means if you want to define what different type of name, then you have to define this name in

52
00:02:41,580 --> 00:02:42,460
particular, that area.

53
00:02:42,480 --> 00:02:47,040
OK, that means into this form area of whatever the request, I just simply pass it.

54
00:02:47,430 --> 00:02:49,720
Whatever the request, I pass it from here.

55
00:02:49,920 --> 00:02:50,730
So no one to do.

56
00:02:50,730 --> 00:02:51,830
I want to check it.

57
00:02:52,110 --> 00:02:58,170
So far there is no here defined as if our this is is first of all I define the method.

58
00:02:59,770 --> 00:03:00,930
OK, that means sorry.

59
00:03:02,400 --> 00:03:06,250
So that is our method or this method is forced or not.

60
00:03:06,270 --> 00:03:10,020
So first of all, I want to take it as a post it or not.

61
00:03:10,470 --> 00:03:16,250
OK, if that means if this method is paused, ok, then if this matter is balls then I want to do to

62
00:03:16,260 --> 00:03:17,400
create another object.

63
00:03:17,670 --> 00:03:21,330
So previously I have created this object and this object is blank.

64
00:03:21,330 --> 00:03:21,660
Right.

65
00:03:21,870 --> 00:03:24,360
So now I want to do in particular that position here.

66
00:03:24,360 --> 00:03:27,690
I have submitted some of the form that are from this position.

67
00:03:27,690 --> 00:03:33,030
I want to do and define some of the information like into the full name.

68
00:03:33,030 --> 00:03:38,640
I have defined some of the data in the data, but here I have defined some of the data and also for

69
00:03:38,640 --> 00:03:40,590
the email, I have defined some of the data.

70
00:03:40,630 --> 00:03:40,980
Right.

71
00:03:41,250 --> 00:03:46,730
So now I want to actually store all the data for the regions here when it still be as a post method.

72
00:03:46,980 --> 00:03:50,720
So after the post method, I want to do I want to define another object.

73
00:03:50,820 --> 00:03:54,010
I just simply defined that name as a new form.

74
00:03:54,600 --> 00:03:57,690
So for this new form, I want to define that now.

75
00:03:57,690 --> 00:04:04,800
All the polls that I want destroyed and the form I have defined our forms and that user our form.

76
00:04:05,040 --> 00:04:09,360
OK, that means in our user form before that was actually empty.

77
00:04:09,570 --> 00:04:11,420
So now on to a store, all the data.

78
00:04:11,430 --> 00:04:14,820
So here I pick another object with these forms.

79
00:04:14,820 --> 00:04:17,460
I define our user form into the user form.

80
00:04:17,460 --> 00:04:20,010
I define our all the requested pulls data.

81
00:04:20,070 --> 00:04:24,810
OK, so I just simply defined as a request that means requested all that our request.

82
00:04:24,810 --> 00:04:26,720
It pulls data, I just simply say it.

83
00:04:27,030 --> 00:04:29,970
And after that I want to do until we find another condition.

84
00:04:30,000 --> 00:04:34,350
So here I want to define another condition as if sorry.

85
00:04:34,380 --> 00:04:40,240
I just simply define another F condition if our d our form is valid or not.

86
00:04:40,260 --> 00:04:42,240
OK, that means this form is valid or not.

87
00:04:42,240 --> 00:04:47,400
So for the reasons that are defined as our this new form, that means that this form is valid or not

88
00:04:47,520 --> 00:04:51,000
just simply defined as is and then underscore valid.

89
00:04:52,110 --> 00:04:54,720
So it is simply defined as is valid or not.

90
00:04:54,750 --> 00:04:57,950
So after that I want to do and to define all of the variables.

91
00:04:57,960 --> 00:04:59,880
So here I have defined our all the.

92
00:04:59,960 --> 00:05:04,500
Form variables are formed variable at this one, because here they have some of the data.

93
00:05:04,520 --> 00:05:09,690
So I want to take this field data, right, because that is actually our TextField data.

94
00:05:09,950 --> 00:05:15,460
So this data I want to receive so far, the results here we have to do we have to define our this variable

95
00:05:15,470 --> 00:05:17,380
that means our this username variable.

96
00:05:17,870 --> 00:05:23,840
So I just simply define our this filename that that is actually that username in e-mail.

97
00:05:23,840 --> 00:05:25,710
We define that things as a name.

98
00:05:25,730 --> 00:05:26,150
Right.

99
00:05:26,180 --> 00:05:32,330
So if you as I told you before, if you go to our best source into the Pacers here, you can see we

100
00:05:32,330 --> 00:05:39,190
defined that name as a user name, name as it used to be, name as our user emailed to know and actually

101
00:05:39,200 --> 00:05:39,700
take it.

102
00:05:40,010 --> 00:05:42,740
So for the reasons here, I defined our user name.

103
00:05:43,130 --> 00:05:50,480
So now here with this, I just simply defined as a new and with this new form and with this new form,

104
00:05:50,480 --> 00:05:57,250
they have also another method as a clean data, OK, clean underscore data.

105
00:05:57,260 --> 00:05:59,090
So I just simply defined this method.

106
00:05:59,090 --> 00:06:05,120
And with this method I want to get our all the data from our forms so that these are forms that are

107
00:06:05,170 --> 00:06:05,960
out to get it.

108
00:06:05,960 --> 00:06:08,230
And I just take that things on here, OK.

109
00:06:08,750 --> 00:06:14,560
So with this clean that actually help you to get all the data from your forms so-called that form that

110
00:06:14,570 --> 00:06:19,040
I we get and I just take the things with this name as a user name.

111
00:06:19,040 --> 00:06:23,590
And also we have to get all the DA and other filenames a better idea, simply copied.

112
00:06:24,110 --> 00:06:30,980
And now I just have the tree field, I have another field as a user or DB that data.

113
00:06:31,020 --> 00:06:33,840
But Diaby actually.

114
00:06:33,890 --> 00:06:41,030
So that is a user, the user Diaby I just simply defined as the user will be another one will be a user

115
00:06:41,030 --> 00:06:41,620
email.

116
00:06:41,780 --> 00:06:44,650
So I just simply defined as that user email and the user email.

117
00:06:44,870 --> 00:06:48,760
OK, and after that we have to do we have to pass it in our dictionary.

118
00:06:48,770 --> 00:06:50,360
So here we have to pass it.

119
00:06:50,360 --> 00:06:54,710
So because all the data we have to update it and also we have to view it.

120
00:06:55,100 --> 00:07:00,530
So I want to visible visible that all data in particular, that pace so far, the results here, we

121
00:07:00,530 --> 00:07:02,480
have to define that things with addiction.

122
00:07:03,630 --> 00:07:09,620
OK, with the addition I just simply defined as an update and into this update, I want to update our

123
00:07:09,860 --> 00:07:15,320
field that as our field, that as a user name, whatever the data I actually receive from our form.

124
00:07:15,350 --> 00:07:17,920
So here I just simply define our user name.

125
00:07:17,930 --> 00:07:22,550
So here I want to update it so that our value will be as a user name.

126
00:07:23,130 --> 00:07:25,250
I just simply define our user name.

127
00:07:25,860 --> 00:07:28,970
OK, so now we just simply update it.

128
00:07:29,180 --> 00:07:34,360
And also we have to do the same things for our another all the field.

129
00:07:34,880 --> 00:07:43,970
So that is our another field will be as a user to yabbie as a user, be as it usually may as a user

130
00:07:43,970 --> 00:07:44,450
email.

131
00:07:44,570 --> 00:07:48,050
And also here we have to do we have to define some of the key.

132
00:07:48,050 --> 00:07:52,870
Because of all here, I have already get all that our field data and also here I updated it.

133
00:07:53,120 --> 00:07:56,210
So now we have to actually parse all the data in our estimate.

134
00:07:56,220 --> 00:07:56,480
Right.

135
00:07:56,510 --> 00:07:59,270
So here we have the actually visibility for the results here.

136
00:07:59,270 --> 00:08:05,080
I want to do to the final of the key in particular, that position I just named the key as a form OK,

137
00:08:05,090 --> 00:08:06,860
form underscore submitted.

138
00:08:08,360 --> 00:08:15,650
So this step up, one of the key I have defined and I just defined as a sound value as s so this step

139
00:08:15,650 --> 00:08:17,170
up the way I have defined.

140
00:08:17,540 --> 00:08:20,030
So now I just simply defined with distinction.

141
00:08:20,030 --> 00:08:24,160
And also I found that things with this context and into the following statement.

142
00:08:24,170 --> 00:08:27,980
Now we can actually visually so you can visible it with our diski.

143
00:08:28,010 --> 00:08:30,000
That means our D forms submit data.

144
00:08:30,320 --> 00:08:32,600
So now go to our farmers HTML.

145
00:08:32,840 --> 00:08:34,520
So that is our foremost HTML.

146
00:08:34,820 --> 00:08:36,200
And here after this.

147
00:08:36,500 --> 00:08:37,490
Look after this.

148
00:08:37,490 --> 00:08:42,400
I want to visible it so better after this form I define what the H attack.

149
00:08:43,220 --> 00:08:45,470
So I just simply defined as the H attack.

150
00:08:45,470 --> 00:08:49,490
And then after this I simply define the if condition.

151
00:08:50,090 --> 00:08:55,520
OK, so here we have to define the percentages and what percentages and this position I define as an

152
00:08:55,520 --> 00:08:58,960
F and then also we have to do we have to end it.

153
00:08:58,970 --> 00:09:05,270
So just simply define our and if the double percent is and then the and if.

154
00:09:06,140 --> 00:09:06,500
Right.

155
00:09:06,800 --> 00:09:11,990
So no, in particular that area I have already defined what the key Sarki name as a form submit that

156
00:09:11,990 --> 00:09:15,510
also the form submitted to our Ortal condition will receive.

157
00:09:15,920 --> 00:09:18,820
So now I just simply copied out this key.

158
00:09:18,830 --> 00:09:22,400
I just simply copied NALGO here into the F condition here.

159
00:09:22,400 --> 00:09:23,780
I just simply defined our form.

160
00:09:23,780 --> 00:09:30,290
Submit when it should be as a true, then it shall be display our all that name like here I defined

161
00:09:30,290 --> 00:09:32,960
as a paetec ok into the P tag.

162
00:09:32,960 --> 00:09:34,190
I defined that name.

163
00:09:35,250 --> 00:09:42,140
Our name will be visible and name will be visible with our so I have defining it with our user name

164
00:09:42,290 --> 00:09:43,940
so I just simply copied it.

165
00:09:44,330 --> 00:09:46,970
And now here I simply defined our user name, OK.

166
00:09:47,270 --> 00:09:54,290
And also will display our test of this field or test of this field will be as the date of birth, date

167
00:09:54,290 --> 00:09:59,810
of birth, date of birth and for and then also that email.

168
00:10:00,720 --> 00:10:09,160
I just sent the email, so our feeling we have to define so our name as a user Dobbie, so that will

169
00:10:09,160 --> 00:10:13,550
be the GOP and the email and that will be as it user email.

170
00:10:13,800 --> 00:10:17,010
I just simply copied and here it will be as user email.

171
00:10:17,240 --> 00:10:21,750
OK, and so I just simply updated our name data and email.

172
00:10:22,030 --> 00:10:22,520
Perfect.

173
00:10:22,800 --> 00:10:25,950
So if everything OK it now should be displayed like here.

174
00:10:25,950 --> 00:10:29,930
If you look at the Savol first of all I want to check it.

175
00:10:30,210 --> 00:10:31,820
Yeah, everything is correct.

176
00:10:32,250 --> 00:10:33,390
Now go here.

177
00:10:33,450 --> 00:10:40,230
If it displays no underdo and the difference of the name here I define some of the date and also defined

178
00:10:40,230 --> 00:10:42,000
s the user email address.

179
00:10:42,000 --> 00:10:43,050
Click on the submit.

180
00:10:43,530 --> 00:10:44,700
Yes.

181
00:10:44,700 --> 00:10:51,870
Now considering now it's perfectly display our name Azarian and I just define the data part and that

182
00:10:51,870 --> 00:10:52,470
is our data.

183
00:10:52,470 --> 00:10:58,260
But it's not visible, that is email and our decmil data is not perfectly visible, in particular that

184
00:10:58,260 --> 00:10:58,740
position.

185
00:10:59,220 --> 00:11:03,960
So here I just simply defined with the same pace so far the results in particular data.

186
00:11:03,960 --> 00:11:04,320
Yeah.

187
00:11:04,320 --> 00:11:05,760
You can say define that action.

188
00:11:05,760 --> 00:11:09,980
Action will be in our form as Tamalpais for the reasons I just make that things as a blank.

189
00:11:10,350 --> 00:11:12,420
So here I define what the F condition.

190
00:11:12,420 --> 00:11:19,140
With this token I get all the data and now when I just simply display our user name, the data part

191
00:11:19,140 --> 00:11:19,850
and the email.

192
00:11:20,220 --> 00:11:20,760
Perfect.

193
00:11:21,240 --> 00:11:23,130
So that's all you have to do.

194
00:11:23,130 --> 00:11:26,850
I think you enjoy it very much and there is very much important.

195
00:11:26,850 --> 00:11:30,240
One of the part I can add that submission into this form.

196
00:11:30,450 --> 00:11:36,320
Seno next video I want to discuss about Moorfield example then this should be very much helpful to you.

197
00:11:36,720 --> 00:11:38,190
So thanks for watching.

198
00:11:38,190 --> 00:11:39,930
I'll see you in the next video.
