I already went through this problem about a month ago, but apparently couldn’t figure out how to work it.
I want Close Window to be a link that closes the window.
[code=php]
echo( “<CENTER>” );
echo( “<FONT SIZE=2 COLOR=333333 FACE=Geneva, Arial, Helvetica, sans-serif>” );
echo( “Thank you for your submission to CONCEPTS2MKT<BR> <BR>We will review your inquiry and contact you with the requested information.<BR> <BR><BR>CLOSE WINDOW” );
echo( “</FONT>” );
echo( “</CENTER>” );
I tried putting Javascript close window, but didn’t do it: I was getting error message in the echo. Maybe I need to add something else in the body to make the Java script work (I don’t really know Java script, nor php; I just copy & paste code).
[code=php]
<a href=”javascript:window.close();”>CLOSE WINDOW</a>
[code=php]
echo( “Thank you for your submission to CONCEPTS2MKT<BR> <BR>We will review your inquiry and contact you with the requested information.<BR> <BR><BR><a href=”javascript:window.close();”>CLOSE WINDOW</a>” );
Another problem I have is when you click on Submit button on:
[URL]http://www.concepts2mkt.com/interest.htm
the form does not reset on submit. You’ll get the:
Thank you for your submission to CONCEPTS2MKT window.
And if you close that window, you’ll see that the form had not reset.
Feel free to try it.
What can I do to fix tese two problems? Thanks.
james