Javascript shown in email field on donation form

  • hockey2112
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago - 11 years 9 months ago #17431 by hockey2112
The javascript code below is currently being displayed in the email field on my donation forms. How can I get rid of that?

Thanks!
Code:
<!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy18191 = '' + '@'; addy18191 = addy18191 + '' + '.' + 'com'; document.write('<a ' + path + '\'' + prefix + ':' + addy18191 + '\'>'); document.write(addy18191); document.write('<\/a>'); //-->\n </ ><!-- document.write('<span style=\'display: none;\'>'); //--> < />This email address is being protected from spambots. You need JavaScript enabled to view it.<!-- document.write('</'); document.write('span>'); //--> < />

(I had to remove some of the text in the code b/c the forum will not let me post code that contains script calls.
Last edit: 11 years 9 months ago by hockey2112.

Please Log in or Create an account to join the conversation.

  • Tuan Pham Ngoc
  • Online
  • Administrator
  • Administrator
More
11 years 9 months ago #17473 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Javascript shown in email field on donation form
Hi

The solution for this problem can be found at www.joomdonation.com/10-general-discussi...front-end.html#10259

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • hockey2112
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #17475 by hockey2112
Worked like a charm. Thanks, Tuan!

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt