scripter73
Programmer
Here’s what I have:
Index.jsp
…..contains
function openWin()
{
wpiWindow = window.open
(' 'newWindow','width=700,height=500,'+
'status=no,toolbar=yes,menubar=no,location=yes');
}
…..uses an include file (customer.html) that looks like the following:
<form name="CustEntry" method="post" action="document.CustEntry.submit();">
<input name="CustNumber" type="text" size="20" maxlength="20"><br><br>
<a href="javascript
penWin();" onClick="document.CustEntry.submit();" border=0><img src="images/submitBut.gif" border="0" width="69" height="17"></a>
</form>
When I test this, I can open the new window and get to the page I specified in my Javascript.
My displayform.cfm page is a test page I’ve created to display the form element if it exists. Right now, its telling me the page doesn’t exist.
How can I pass the form elements to the page displayform?
I've also tried leaving the action blank, and playing around with the attributes. Still can't get the form field to submit.
Thanks in advance.
Scripter73
Change Your Thinking, Change Your Life.
Index.jsp
…..contains
function openWin()
{
wpiWindow = window.open
(' 'newWindow','width=700,height=500,'+
'status=no,toolbar=yes,menubar=no,location=yes');
}
…..uses an include file (customer.html) that looks like the following:
<form name="CustEntry" method="post" action="document.CustEntry.submit();">
<input name="CustNumber" type="text" size="20" maxlength="20"><br><br>
<a href="javascript
</form>
When I test this, I can open the new window and get to the page I specified in my Javascript.
My displayform.cfm page is a test page I’ve created to display the form element if it exists. Right now, its telling me the page doesn’t exist.
How can I pass the form elements to the page displayform?
I've also tried leaving the action blank, and playing around with the attributes. Still can't get the form field to submit.
Thanks in advance.
Scripter73
Change Your Thinking, Change Your Life.