I have form and some fields and I want send these fields to the next page via done.php using action="#main_body".
What are the differences between these two forms?
<form id="formElem" name="formElem" action="/ifs/form/index.php" method="post">
<form id="formElem " class="ifs" method="post" action="#main_body">
in the first case you send the values of your inputs to a specific page called done.php. In the second way you’re calling the same page in which you have your form (plus an hashtag)