Form action and html5
The w3 explanation of form action attribute is it specifies where to send the form-data when a form is submitted ( http://www.w3schools.com/jsref/prop_form_action.asp ).
<form name="form1" action="">
which works, but w3 code validator for html5 says I can't leave action blank. When I put the url of my page into action it does work, but I am not sure if that's what is indeed supposed to be there. I realize it is not so critical to pass the validator, but I still wonder what is the proper entry into form action if the result is in the same page?
my reference says that the action attribute is not necessary in HTML5
Last edited by Padonak; 08-15-2013 at 05:13 AM.
Oh, I did not realize this, thanks!
Originally Posted by Padonak
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)