Posted: 03/22/2021, 6:54 AM |
|
I need to move the form that spans from after the body to before the closing body to a particular part of the page. This is the form that holds some hidden inputs and seems to be automatically created. Is it possible to place the form in a particular part of the page where the submit forms are placed?
Currently:
<body>
<form name="ctl00" method="post" action="TEST_EMPTY_WITH_CONTEXT.aspx" id="ctl00">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULL...=" />
</div>
...
</form>
</body>
would like:
<body>
<header>
</header>
...
<main>
<form name="ctl00" method="post" action="TEST_EMPTY_WITH_CONTEXT.aspx" id="ctl00">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULL...=" />
</div>
...
</form>
</main>
...
<footer>
</footer>
</body>
I'm using materialize and the sticky footer isn't sticking to the bottom of the page which seems to be due to this forms position.
|