Pop Up Window for FormMail 
Author Message
 Pop Up Window for FormMail

Hello:

I have a form that utilizes the FormMail.pl script.  For the redirect pages,
I want the pages to open up in a pop-up window instead of going to a full
browser page.  I tried inserting the java script code in the form as
follows:

<input type="hidden" name="missing_fields_redirect"
value="javascript:showWindow('error.htm','200','200');">
<input type="hidden" name="redirect"
value="javascript:showWindow(thankyou.htm','200','200');">

The form itself is in a pop up window (475 X 375).  When I execute the form,
the redirect pages do not open up in a pop up window but simply open up in
the entire pop up window in the form.

Does anyone know how to accomplish this?  Is there some modifications that
need to be made in the script itself rather than the form code?

Thanks for any help you can provide.

David



Wed, 29 Sep 2004 17:13:00 GMT  
 Pop Up Window for FormMail

Quote:

> Hello:

> I have a form that utilizes the FormMail.pl script.  For the redirect pages,
> I want the pages to open up in a pop-up window instead of going to a full
> browser page.  I tried inserting the java script code in the form as
> follows:

> <input type="hidden" name="missing_fields_redirect"
> value="javascript:showWindow('error.htm','200','200');">
> <input type="hidden" name="redirect"
> value="javascript:showWindow(thankyou.htm','200','200');">

> The form itself is in a pop up window (475 X 375).  When I execute the form,
> the redirect pages do not open up in a pop up window but simply open up in
> the entire pop up window in the form.

> Does anyone know how to accomplish this?  Is there some modifications that
> need to be made in the script itself rather than the form code?

This problem is not Perl-related. You might want to try to ask your questions in
comp.lang.javascript.


Wed, 29 Sep 2004 18:55:04 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Pop Ups

2. Pop Ups

3. Formmail & Windows 95 help

4. Formmail for windows

5. new window pop up via button

6. ANNOUNCE: Tutorial # 38: A CGI script incorporating a pop-up window

7. perl output to pop-up window

8. pop-up window problem

9. POP UP window

10. POP up window

11. How to stop cmd Windows Pop-up on NT

12. Pop Up Windows on Several Platforms

 

 
Powered by phpBB® Forum Software