What do they mean when they say the form will submit to itself if the action attribute is not there? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What do they mean when they say the form will submit to itself if the action attribute is not there?

27th Jul 2016, 7:25 PM
Mohamad Ghadieh
Mohamad Ghadieh - avatar
1 Antwort
+ 1
It means, if you submit data from file form.php and attribute action is not set or the action value is null ( action="" ), data will be send to form.php itself. Example : <form action="" method="POST">
28th Jul 2016, 1:45 PM
Ayub Narwidian Adiputra
Ayub Narwidian Adiputra - avatar