Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,600 --> 00:00:03,850
So the last thing that we're gonna do here
2
00:00:03,850 --> 00:00:06,800
is to use the Netlify forms feature
3
00:00:06,800 --> 00:00:09,673
in order to make or sign up form work.
4
00:00:11,340 --> 00:00:14,930
So here in the menu of your site.
5
00:00:14,930 --> 00:00:18,970
So right now, remember our site or mine here
6
00:00:18,970 --> 00:00:21,020
is called omnifood-jonas.
7
00:00:21,020 --> 00:00:23,900
And so right now we are in the site settings,
8
00:00:23,900 --> 00:00:26,560
but here we have all these other things
9
00:00:26,560 --> 00:00:31,540
and one of them is Forms, right?
10
00:00:31,540 --> 00:00:35,060
So here we see that we can manage forms and submissions
11
00:00:35,060 --> 00:00:39,010
without any server site code or any JavaScript.
12
00:00:39,010 --> 00:00:42,250
And so that's what I mentioned also way back,
13
00:00:42,250 --> 00:00:45,210
which is that usually we need some code
14
00:00:45,210 --> 00:00:49,060
on some back end, server side, basically,
15
00:00:49,060 --> 00:00:52,140
to then receive form submissions.
16
00:00:52,140 --> 00:00:56,380
But here, and Netlify can basically do that job for us.
17
00:00:56,380 --> 00:00:59,170
So all we need to do is to add a name
18
00:00:59,170 --> 00:01:00,690
to the form like this
19
00:01:00,690 --> 00:01:03,600
and add the Netlify attribute.
20
00:01:03,600 --> 00:01:04,833
And that will be it.
21
00:01:06,890 --> 00:01:08,510
All right.
22
00:01:08,510 --> 00:01:10,660
And of course, this will only work
23
00:01:10,660 --> 00:01:13,423
if you deployed your site using Netlify.
24
00:01:14,950 --> 00:01:17,983
Right, but that's pretty obvious, I guess.
25
00:01:19,560 --> 00:01:22,550
But anyway, here is our form.
26
00:01:22,550 --> 00:01:25,740
So the action we don't need, in this case,
27
00:01:25,740 --> 00:01:28,023
but instead we need a name.
28
00:01:28,860 --> 00:01:31,400
So the name attribute on the form,
29
00:01:31,400 --> 00:01:32,790
let's call it,
30
00:01:32,790 --> 00:01:36,023
sign-up and then the Netlify attribute.
31
00:01:37,160 --> 00:01:40,740
So this is of course not a standard HTML attribute,
32
00:01:40,740 --> 00:01:43,120
but simply when we upload the file
33
00:01:43,120 --> 00:01:46,220
in Netlify we'll then see that we added it
34
00:01:46,220 --> 00:01:48,700
and will then automatically start accepting
35
00:01:48,700 --> 00:01:50,833
submissions for this form.
36
00:01:51,730 --> 00:01:53,310
Now in order to make this work,
37
00:01:53,310 --> 00:01:55,480
we also need to add a name attribute
38
00:01:55,480 --> 00:01:58,460
to eat off these input fields.
39
00:01:58,460 --> 00:02:00,500
And a name attribute is actually
40
00:02:00,500 --> 00:02:04,770
a standard HTML attribute for form inputs.
41
00:02:04,770 --> 00:02:07,340
So actually we should have done that earlier
42
00:02:07,340 --> 00:02:10,480
because even when we write our own server site code
43
00:02:10,480 --> 00:02:12,450
to accept the form submission,
44
00:02:12,450 --> 00:02:14,550
we still need that name
45
00:02:14,550 --> 00:02:18,220
because that is how we will then identify
46
00:02:18,220 --> 00:02:19,573
each of the input fields.
47
00:02:21,380 --> 00:02:24,960
So let's call this one here, full-name.
48
00:02:24,960 --> 00:02:28,010
So let's give them here a descriptive names
49
00:02:28,010 --> 00:02:31,940
because these names are actually what are going to appear
50
00:02:31,940 --> 00:02:33,633
in the Netlify dashboard.
51
00:02:35,740 --> 00:02:40,010
So here, well here we can simply call it
52
00:02:40,010 --> 00:02:41,293
email as well.
53
00:02:44,440 --> 00:02:47,310
And yeah, here let's also just give it
54
00:02:47,310 --> 00:02:51,383
the name with the same description as the ID.
55
00:02:53,410 --> 00:02:58,270
So name just like this, okay.
56
00:02:58,270 --> 00:03:00,190
And that's actually it.
57
00:03:00,190 --> 00:03:04,080
Now just one important piece of advice here
58
00:03:04,080 --> 00:03:06,810
is that you should never use a Netlify form
59
00:03:06,810 --> 00:03:10,130
to handle a real sign-ups with passwords
60
00:03:10,130 --> 00:03:12,650
or the same thing for logins.
61
00:03:12,650 --> 00:03:15,660
So Netlify has actually a separate feature for that,
62
00:03:15,660 --> 00:03:18,810
but that is paid and I did never use it.
63
00:03:18,810 --> 00:03:21,700
But you cannot, or you should really not
64
00:03:21,700 --> 00:03:25,780
submit passwords through this, all right.
65
00:03:25,780 --> 00:03:29,090
So really just something like a contact form
66
00:03:29,090 --> 00:03:31,543
or something around those lines.
67
00:03:33,140 --> 00:03:34,330
Now, right.
68
00:03:34,330 --> 00:03:38,520
But anyway, we just prepared our a form here
69
00:03:38,520 --> 00:03:43,520
and now we of course need to deploy this one more time.
70
00:03:43,620 --> 00:03:47,190
So we need to submit the code basically again.
71
00:03:47,190 --> 00:03:49,360
And so for that, we come here to Deploys
72
00:03:50,550 --> 00:03:52,240
and then here we have again,
73
00:03:52,240 --> 00:03:55,493
that area where we can simply drop our folder.
74
00:03:57,770 --> 00:03:59,173
So let's do that again.
75
00:04:02,350 --> 00:04:04,420
And so you'll see that now we have
76
00:04:04,420 --> 00:04:06,850
a new deployment going on.
77
00:04:06,850 --> 00:04:08,500
So it's still uploading.
78
00:04:08,500 --> 00:04:09,823
It's not done yet.
79
00:04:11,220 --> 00:04:12,303
So let's wait for it.
80
00:04:14,660 --> 00:04:16,650
Well, that's taking a bit too long.
81
00:04:16,650 --> 00:04:18,343
That's strange.
82
00:04:21,200 --> 00:04:22,893
So actually it is already done.
83
00:04:23,930 --> 00:04:25,300
Now right.
84
00:04:25,300 --> 00:04:30,300
Now our form here, will still look the same, of course.
85
00:04:30,620 --> 00:04:31,863
But if we inspect it,
86
00:04:34,230 --> 00:04:36,563
then that attribute should be there.
87
00:04:38,730 --> 00:04:40,800
So actually it is not.
88
00:04:40,800 --> 00:04:42,310
And so what that means is that
89
00:04:42,310 --> 00:04:46,320
Netlify did already changed our HTML here a bit.
90
00:04:46,320 --> 00:04:49,120
So you'll see that even this method here of post,
91
00:04:49,120 --> 00:04:51,293
I think that we don't have it in our code.
92
00:04:52,920 --> 00:04:55,760
So, right.
93
00:04:55,760 --> 00:04:56,700
You see that?
94
00:04:56,700 --> 00:04:58,770
So we don't have method post.
95
00:04:58,770 --> 00:05:01,543
And so Netlify, they added this part here.
96
00:05:03,190 --> 00:05:04,160
Now, okay.
97
00:05:04,160 --> 00:05:07,453
And so now let's try to fill this with something.
98
00:05:11,890 --> 00:05:13,503
Let's try my email here.
99
00:05:15,690 --> 00:05:19,490
And finally then let's say YouTube video.
100
00:05:19,490 --> 00:05:24,300
So sign up now and well Netlify then takes us
101
00:05:24,300 --> 00:05:26,430
to this Thank you! message.
102
00:05:26,430 --> 00:05:28,890
And we could also customize this.
103
00:05:28,890 --> 00:05:32,720
So basically, lead the user to our own custom page,
104
00:05:32,720 --> 00:05:36,090
but well that's just too much work for now.
105
00:05:36,090 --> 00:05:38,230
So we can just go back.
106
00:05:38,230 --> 00:05:40,313
And now in our Netlify dashboard,
107
00:05:41,240 --> 00:05:43,863
that submission should be here in Forms.
108
00:05:44,950 --> 00:05:48,010
And indeed here we get Active forms,
109
00:05:48,010 --> 00:05:50,220
which is called sign-up,
110
00:05:50,220 --> 00:05:52,763
which is exactly the name that we gave it here.
111
00:05:54,030 --> 00:05:57,010
And so if you had to multiple forms on your page,
112
00:05:57,010 --> 00:06:01,200
then you would of course have to give them different name.
113
00:06:01,200 --> 00:06:03,670
But anyway, let's now click here
114
00:06:03,670 --> 00:06:06,943
and then we will get that submission that we just made.
115
00:06:08,700 --> 00:06:11,850
So, you'll see, we have to full name
116
00:06:11,850 --> 00:06:13,710
that I created the email.
117
00:06:13,710 --> 00:06:16,230
And also, Where did you hear from us.
118
00:06:16,230 --> 00:06:20,190
So Netlify even takes this text here from our labels,
119
00:06:20,190 --> 00:06:24,830
which is really, really helpful, right?
120
00:06:24,830 --> 00:06:29,660
So you can also download these results as a CSV file.
121
00:06:29,660 --> 00:06:32,980
But just one thing that I wanted to make clear here
122
00:06:32,980 --> 00:06:35,640
is that you can only take 100 submissions,
123
00:06:35,640 --> 00:06:38,250
per month, on this form.
124
00:06:38,250 --> 00:06:41,200
So what that means is that if you have a lot of traffic,
125
00:06:41,200 --> 00:06:45,040
then at some point you might have to sign up for a paid plan
126
00:06:45,040 --> 00:06:48,060
if you want to keep using the form.
127
00:06:48,060 --> 00:06:51,070
And if you want to get hold of form submissions
128
00:06:51,070 --> 00:06:53,273
right here into Netlify, okay.
129
00:06:55,610 --> 00:06:58,160
But if you just have a couple of visitors
130
00:06:58,160 --> 00:07:01,520
and just want to use this, let's say for fun,
131
00:07:01,520 --> 00:07:03,700
then you can use the free version still
132
00:07:03,700 --> 00:07:06,680
and get up until 100 submissions.
133
00:07:06,680 --> 00:07:09,810
And as you'll see, this is really, really easy to do
134
00:07:09,810 --> 00:07:13,520
and can become quite handy, now right?
135
00:07:13,520 --> 00:07:16,220
And with this, let's now close it up
136
00:07:16,220 --> 00:07:19,480
because now our project is indeed finished.
137
00:07:19,480 --> 00:07:23,780
There's nothing more we can or we should do.
138
00:07:23,780 --> 00:07:28,600
And yeah, so we've come a really long way here together.
139
00:07:28,600 --> 00:07:31,810
And I hope that you're just as happy as I am
140
00:07:31,810 --> 00:07:34,300
with how this project ended up.
141
00:07:34,300 --> 00:07:36,360
So congratulations once more.
142
00:07:36,360 --> 00:07:38,660
And of course, make sure to share this
143
00:07:38,660 --> 00:07:41,450
with all your friends and make them maybe
144
00:07:41,450 --> 00:07:43,200
a little bit jealous.
145
00:07:43,200 --> 00:07:45,590
So anyway, take care.
146
00:07:45,590 --> 00:07:47,033
And I see you next time.
10441
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.