submit button not working, Using HTML on Joomla platform w/o wyswyg editor. |
submit button not working, Using HTML on Joomla platform w/o wyswyg editor. |
FSC |
Jan 10 2011, 03:26 PM
Post
#1
|
Group: Members Posts: 1 Joined: 10-January 11 Member No.: 13,572 |
I'm very new to this so any help would be greatly appreciated!
I have a simple form with problems in with the submit button. It's the same issue in all browsers I've checked. I'm also putting the code into Joomla's back-end platform with no editor in hopes that it won't alter the form html. Here's the url to form.... http://freespeechcoalition.com/component/c...9-apapform.html When you hit submit it opens up the email properly but has this in the "to" field instead of the email address... <script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy96438 = 'kim' + '@'; addy96438 = addy96438 + 'freespeechcoalition' + '.' + 'com'; document.write( '<a ' + path + '\'' + prefix + ':' + addy96438 + '\'>' ); document.write( addy96438 ); document.write( '<\/a>' ); //-->\n </script> <script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none; \'>' ); //--> </script>This e-mail address is being protected from spambots. You need JavaScript enabled to view it <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script> Thank you! |
Darin McGrew |
Jan 10 2011, 04:05 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
The online tools report markup and CSS errors:
http://htmlhelp.com/cgi-bin/validate.cgi?u...mp;warnings=yes http://jigsaw.w3.org/css-validator/validat...g=1&lang=en |
pandy |
Jan 10 2011, 06:29 PM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Yeah, that's actually what you have written. You can't place a script block inside the value of an attribute as you have done.
CODE <form action="mailto: <script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; ... |
Lo-Fi Version | Time is now: 24th April 2024 - 06:38 PM |