Open a form post in a new window

If you are trying to control how a form post in html looks when the form posts to a new URL, you can use Javacript to control how the form post opens the new window in your browser.

Put this Javascript in your page:

<script>

function redirectOutput(myForm) {

var w = window.open('about:blank','Popup_Window','fullscreen=yes, menubar=no, scrollbars=yes');

myForm.target = 'Popup_Window';

return true;

}

<script>

Note: there are a lot of options you can use in the code above besides just "fullscreen=yes" etc...

Here's a good webpage that lists all the options:

http://www.w3schools.com/jsref/met_win_open.asp

In your form, you need to add an "onsubmit" event:

<FORM action="closedloanreport.asp" method=post target='_blank' onsubmit='redirectOutput(this)'>

<INPUT type="submit" value="Run Report">

</FORM>