0

Can someone please help me with forms?

So I was trying to create a test page of sign-up the log-in. the info was to be stored in variables and compare the info to the info in the log-in page. I can't get it to work, I need help with the submit button. Should I use another method instead of the submit button? https://code.sololearn.com/WlCrtvqtmQql/?ref=app

21st Jan 2018, 4:17 PM
Ojani
Ojani - avatar
2 Antworten
+ 1
What is create line 12? Missing semicolons in many lines. Forgot to index body (body[0]) on line 10.
21st Jan 2018, 4:33 PM
Lil Taco
Lil Taco - avatar
+ 1
It's nice what you are trying to do, but in real life you would simply this by creating a second page. You also could create a second <div> and set it invisible. When sending your credentials set your registration <div> to invisible and the login <div> to visible.
21st Jan 2018, 4:28 PM
Andreas K
Andreas K - avatar