How to design the forms

10 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.84
List Price:  €65.59
You save:  €18.74
£40.02
List Price:  £56.03
You save:  £16.01
CA$68.85
List Price:  CA$96.39
You save:  CA$27.54
A$77.12
List Price:  A$107.98
You save:  A$30.85
S$68.21
List Price:  S$95.50
You save:  S$27.29
HK$391.10
List Price:  HK$547.57
You save:  HK$156.47
CHF 46.02
List Price:  CHF 64.43
You save:  CHF 18.41
NOK kr554.84
List Price:  NOK kr776.82
You save:  NOK kr221.98
DKK kr349.42
List Price:  DKK kr489.21
You save:  DKK kr139.79
NZ$84.86
List Price:  NZ$118.81
You save:  NZ$33.95
د.إ183.60
List Price:  د.إ257.06
You save:  د.إ73.45
৳5,520.52
List Price:  ৳7,729.18
You save:  ৳2,208.65
₹4,173.28
List Price:  ₹5,842.93
You save:  ₹1,669.64
RM238.32
List Price:  RM333.67
You save:  RM95.35
₦66,243.24
List Price:  ₦92,745.84
You save:  ₦26,502.60
₨13,999.18
List Price:  ₨19,599.98
You save:  ₨5,600.79
฿1,857.12
List Price:  ฿2,600.12
You save:  ฿743
₺1,622.27
List Price:  ₺2,271.31
You save:  ₺649.04
B$259.73
List Price:  B$363.64
You save:  B$103.91
R934.43
List Price:  R1,308.28
You save:  R373.84
Лв91.63
List Price:  Лв128.30
You save:  Лв36.66
₩69,279.33
List Price:  ₩96,996.60
You save:  ₩27,717.27
₪186.71
List Price:  ₪261.41
You save:  ₪74.69
₱2,889.54
List Price:  ₱4,045.59
You save:  ₱1,156.04
¥7,894.37
List Price:  ¥11,052.75
You save:  ¥3,158.38
MX$855.53
List Price:  MX$1,197.81
You save:  MX$342.28
QR183.78
List Price:  QR257.31
You save:  QR73.52
P714.32
List Price:  P1,000.11
You save:  P285.78
KSh6,668.17
List Price:  KSh9,335.98
You save:  KSh2,667.80
E£2,392.69
List Price:  E£3,349.95
You save:  E£957.26
ብር2,866.71
List Price:  ብር4,013.63
You save:  ብር1,146.91
Kz41,718.65
List Price:  Kz58,409.45
You save:  Kz16,690.80
CLP$48,067.30
List Price:  CLP$67,298.07
You save:  CLP$19,230.76
CN¥361.97
List Price:  CN¥506.79
You save:  CN¥144.82
RD$2,943.98
List Price:  RD$4,121.81
You save:  RD$1,177.82
DA6,730.95
List Price:  DA9,423.87
You save:  DA2,692.92
FJ$114.25
List Price:  FJ$159.96
You save:  FJ$45.71
Q390.96
List Price:  Q547.38
You save:  Q156.41
GY$10,529.51
List Price:  GY$14,742.16
You save:  GY$4,212.64
ISK kr7,023.09
List Price:  ISK kr9,832.89
You save:  ISK kr2,809.80
DH508.71
List Price:  DH712.24
You save:  DH203.52
L887.81
List Price:  L1,243.01
You save:  L355.19
ден2,890.32
List Price:  ден4,046.68
You save:  ден1,156.36
MOP$402.89
List Price:  MOP$564.08
You save:  MOP$161.19
N$939.91
List Price:  N$1,315.96
You save:  N$376.04
C$1,851.58
List Price:  C$2,592.36
You save:  C$740.78
रु6,678.15
List Price:  रु9,349.94
You save:  रु2,671.79
S/188.35
List Price:  S/263.70
You save:  S/75.35
K194.24
List Price:  K271.96
You save:  K77.71
SAR187.48
List Price:  SAR262.49
You save:  SAR75
ZK1,347.15
List Price:  ZK1,886.12
You save:  ZK538.96
L233.12
List Price:  L326.39
You save:  L93.26
Kč1,178.64
List Price:  Kč1,650.20
You save:  Kč471.55
Ft18,305.53
List Price:  Ft25,629.21
You save:  Ft7,323.68
SEK kr550.47
List Price:  SEK kr770.71
You save:  SEK kr220.23
ARS$44,067.56
List Price:  ARS$61,698.11
You save:  ARS$17,630.55
Bs347.73
List Price:  Bs486.86
You save:  Bs139.12
COP$193,896.94
List Price:  COP$271,471.23
You save:  COP$77,574.29
₡25,583.92
List Price:  ₡35,819.54
You save:  ₡10,235.61
L1,243.01
List Price:  L1,740.31
You save:  L497.30
₲375,896.46
List Price:  ₲526,285.13
You save:  ₲150,388.66
$U1,928.40
List Price:  $U2,699.91
You save:  $U771.51
zł203.42
List Price:  zł284.80
You save:  zł81.38
Already have an account? Log In

Transcript

Today we are going to discuss about the form element, actually the form element define the form that is used to collect your user data. First of all, if you or if you have your phone then I am just logged in, log out. Sorry, log out, click on the login section. So as you can see you are sending or you're getting the input from your users to log in here. So as you can see, this is the text. This is also the text and this is a chat box and this is the buttons so they discuss about the buttons, so don't worry about it.

So now you can use the form To collect the data from your users in the form, you can add input. I'm saying the time is input, sorry. This is the input, I'm saying hi equals to text. That means I'm saying, I'm just going to get the some information from the user as attached. So you, your user can provide you the text. So how can you do that?

Just copy this, sorry, comment this. Now I'm saying I'm just, I also come in this. I'm saying farm, and I'm saying farm clothes. Now I'm saying this is input. That means we are going to get the input from the user Time is text. Okay, now closes you need to close your element.

So as you can see you haven't started the form you have closed the form, you don't need to close this, you just need to go to your page refresh the page. Now we can see you have just added that so you can write your tests here. Okay? Now, if you need the text areas popping, I'm saying text area, I'm just I have to close this text area text area also. Okay, so now I'm saying go to your page, refresh the page. So now they can see you have just added the text also.

So this Why are showing in the same line because these are the inline elements. So that's why it's showing on the same Alamo like okay if I'm saying the call possible I need that 10 column. If I'm saying roles, that means I'm going to add the 10 rows you can assign as many as row as you want. This is the, these are the attributes you are assigning the attributes to your text area elements refresh the page. Now as you can see, you have just added the rows and columns in a text area. Okay, so now what you you have your text area, you have your text and saying five rows and five columns.

Fresh, five votes for five. Awesome. Okay, now you need to add the name, particles name my name. Okay, why you are using the name because you are storing the data in the name. When you submit this form to your server. Your server can collect the information with the same name variable.

Okay, so how can you stand You are formed your server you can add your action action means you are going to send this information to this file. First of all one dot php. PHP is a server side language. That means you need to send the information from your HTML page to your server. Okay, that means I'm saying violet, that means you are sending this data to this file. I don't know about the file, but for now, this is the file.

You can use the XYZ dot php file there dot ASP, okay, but for now, we are not learning the PHP here. How can you create the radio buttons for suppose I'm saying input? I'm saying hi. And here I'm saying radio closes. Go to your patient face to pee. We're all okay.

You have to add the value also fetch the page. My well and I'm saying by default it's the page Yeah, you really overdone. Okay, so now how can you create the radio buttons? So add the comma here I'm saying input type equals to radio equals two Radio First of all, you don't need to close it just okay that means you are saying oh create the input and create the type of the input is the radio that means you're creating the radio button. So, as you can see this is the radio button you can assign the second attribute. This is the my way for suppose my while you go to your page refresh the page, right click inspect element.

So as you can see, this is the my way element why you are seeing my value element. We will discuss about not we are going to discuss but for now, you can assigning the value to your elements. And you can also add or support if you if this is the mail and if you have Answering mail and I'm going to create another input and I'm saying this is the female the value is the female female and now I'm saying By default this male is checked go to your page refresh the page. Now as you can see, this male is checked when you click on the this element, that means you are checking both of them but you need to add the name. I'm saying the gender so here I need to add the name also. Go to add page refresh the page by default this is a check if you click on the this female as you can see, you are unchecking this and you are checking this.

So in this way you can create your check off or sorry, radio button and how can you create your check box. I'm saying And we're tired. Sorry, I have just bought the keyboard. But that's why I'm saying checkbox. And the name of the check box is possible one. And the way you can assign a value.

And I'm saying By default this checkbox is checked. Go to your page, refresh the page. Now as you can see, you have just added your check off, you can add as many apps check balls, check balls. This is a checkbox. Second check box. Counting This is not checked, go to page refresh the page so this is not checked.

So in this way, you can create your check box. So what about the file if you need to submit the file somewhere? You need to read I'm saying that this is the input type equals to file and just click refresh the page. So now as you can see, this is the file, just click on this, you can send your file like this. Okay, so now how can you create your buttons. So I'm saying input i equals to button.

And now the value of the burden I'm saying this is this is button go to your page refresh the page. Now as you can see, you have just created the button. So this is the value you can write your button here first of all, submit or log in from your define upon you log in, go to your page, refresh the page. Now as you can see, this is the login set of button. In this way you can create the HTML forms or HTML elements. So I think this is enough for the next lecture we are going to cover some other topics related with sgml.

Thank you for watching.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.