If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

The issue with this is that I have no access to the main form; this needs to happen without modifying the form tag at all. It seems like all the solutions what you to modify the form tag.
-------------------------------------------------------------------

I did try this out in the button instead of modifying the form tag but i can only pass values via get and i can't grab any form elements to pass on this way.
<script type="text/javascript">
// M- Opens up new window and not a TAB.
function OpenForm(x, w, h, name, URL) {
var settings = 'width=' + w + ',height=' + h + ',scrollbars=yes,toolbars=no, directories=no,left=0, top=0';
while (URL.indexOf(" ") != -1)
URL = URL.replace(" ", "%20");
mywin = "win" + x;
mywin = window.open(URL, name, settings);
}
</script>

This works but will not do a submit to a a new window; it just opens one up. I can pass values in a query string though but no post.
<input type='button' name='PhoneCall' id='PhoneCall' value='Phone Call' onClick="OpenForm(4,'800','500','OOSTITLEPhone','TITLE_PHONECALL_frm.aspx?TitleID=869&CustPhone=111-222-3333');">
------------------------------------------------------------------

With this I am not sure how or if it will just post all the request.form data to the new page? Do I have to grab each element I want to pass? Like a regular form post to itself would it just pass all the form data over?

I am trying to figure out how to put that into working with a function so you can validate with JavaScript and all that. If it passes then we open up the page but if not we stop there and messagebox them.

I would actually need it to open the page PHONECALL_frm.aspx in the new window upon passing validation and there i can use the phone number and any other fields I grabbed and needed from the parent form.