0

What actually happens to the details that are provided in a form which are taken to a webpage on a web server.

So after submitting a form, will the URL for the action attribute take you to a webpage on a web server where the form details will be validated or it just takes me to my intended webpage destination? please someone should help me out?

21st Mar 2021, 7:34 AM
Myxtikal Ahmed
Myxtikal Ahmed - avatar
2 Respostas
0
The web server side contains the back-end development work right.
21st Mar 2021, 7:36 AM
Myxtikal Ahmed
Myxtikal Ahmed - avatar
0
when submitting a form, an http request is done to the server, using method and url provided (and obviously embeding form data)... if the url is a static file, you will only be able to read GET method (form data is url encoded as a query string appended to the url) with javascript on client side inside the html target page... if you handle the url as dynamic response/content, you could read form data at server side, and then decide which response to send (choice of a static page, or dynamic builded page) ;)
21st Mar 2021, 7:50 AM
visph
visph - avatar