Adding a Submit Button
At this stage we created a form input field and are ready to add a submit button. By the way as you are watchign this video think about %u201Cwhere will this information be sent to?%u201D try to find out if you can figure it out (don't worry we will talk about this in the next video).
Video Transcript
00:00All right, so far we created a user
00:02Well, not really we created a place where the user could input their text using the label and the input of type of text, right?
00:09Mom and we also created a password form that enabled the user to type in their password
00:14Now right now after the user puts that information nothing really happens
00:19The next step is we kind of have to tell it well, okay submit the information now send it to the server
00:23To do that what we want to do is we want to add a new input type and I'm going to show you how that
00:28Input type works again. We're going to just type input
00:31And this input type is going to be submit now the input type submit basically has only one property
00:38It really care about which is the path property of value and in the property value
00:43We actually want to say what copy do we want to put on the button?
00:46There will be a default copy which would be submit, but we could have a different copy such as login
00:51And by the way every single thing here
00:55You could also customize via CSS once you get more familiar with CSS
01:00So once I created my submit button now
01:02I have a submit form if I go to my browser you'll see that now we have a login button as well now
01:09Let me ask you a question about when I click on the login button. We're where should it send that information?
01:16Right because right now it's not really going anywhere
01:18We're not sending it to anyone as we said that we have we need someone a third party solution or a developer
01:25That is on the on the server side that will fetch that information and do something with it
01:29Or if we were JavaScript developers
01:31We might wanted to catch that information on the JavaScript side and and use it use it
01:36But still we need a programmer to be able to communicate
01:40Although we you don't have to be a programmer to build many forms because there's many services out there such as email services and
01:47Subscription email services that enable you to basically submit the information without you needing to know any server side code at all
