how do i get values(eg:name,email,etc..) typed in the form after submitting it? In html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how do i get values(eg:name,email,etc..) typed in the form after submitting it? In html

10th Jun 2018, 11:43 AM
Aswin Sainath
Aswin Sainath - avatar
7 Answers
10th Jun 2018, 12:28 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 2
Aswin Sainath I have get the values from the form by JavaScript in the code. See and feel free to use it. https://code.sololearn.com/WHruFlPui5Ns/?ref=app
10th Jun 2018, 11:45 AM
Akash Pal
Akash Pal - avatar
+ 2
you could use js like what Akash Pal demonstrates. But on a real website youlld most likely be using php's $_get[] or $_post[]
10th Jun 2018, 11:50 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
but for those like one time registration and then next time login . how to save like that
10th Jun 2018, 12:02 PM
Aswin Sainath
Aswin Sainath - avatar
+ 1
Aswin Sainath You will have to use database for the this. But I too don't know now.
10th Jun 2018, 12:12 PM
Akash Pal
Akash Pal - avatar
+ 1
Check out SQL for saving data.
11th Jun 2018, 3:58 PM
Ben Allen (Njinx)
Ben Allen (Njinx) - avatar
0
tq
10th Jun 2018, 11:59 AM
Aswin Sainath
Aswin Sainath - avatar