+ 2
Can JavaScript be used to process forms?
I learned HTML a few years ago from a book (Headfirst HTML), and it explained how to create forms, but not how to actually process the responses you get. I know that you can get form data using JavaScript, but it seems like it is used more to validate the data and not as much to actually react to what is input. Is this true, and if so, what languages should be used instead?
3 odpowiedzi
+ 5
Web javaScript is a client side language. It can validiate your form data, but cant save it in server or database server.
For that, you need a serverside language.
There are various serverside languages. For eg:
PHP
ASP
NodeJS
Python
C,C++,C#
As you are a beginer, take PHP course after learning HTML,CSS,JS.
+ 2
You can use nodejs to handle form responses
0
This was helpful