Forums

Print button not working on email template

DonJob 17 Oct, 2008
Hi there! I'm using ChronoForms_V2.5_J1.5_RC3.1 (great component!!) on Joomla1.5 and I'd appreciate any help on this issue: I put a javascript print link on my email template html using a simple code:

<a href='javascript:;' onClick='window.print();return false'>Print this page.</a>

The form template shows up fine on my outlook inbox and the print code also works fine when I send the template to just one address. I get problems when I send the email template to more than one address. For instance, if I send the form to: [email]email1@xx.com[/email] , [email]email2@yy.com[/email], the print button works fine just on the firts one. On the second one I click on the print link and nothing happens... Any advise will be welcome! Thanks!!😀
Max_admin 17 Oct, 2008
Hi Don, this should not be a problem, maybe the 2nd email server cleans the JS code from email source ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
DonJob 18 Oct, 2008
Hi Max! Thanks for the prompt reply! No, the server did not clean the code. To test it I sent the form to 2 diferent accounts on the same server. The sources for the 2 emails are the same. Any clues? Thanks!
Max_admin 18 Oct, 2008
I really have no idea, try to open the 2 emails on 2 different PCs, maybe the windows itself blocks it after the first try, I'm not sure.

Cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.