Send button for email form disappeared
Posted: 16 May 2008 04:09 PM   [ Ignore ]  
Grad Student
Avatar
Rank
Total Posts:  60
Joined  05-31-2007

Hi,
I just finished scouring the forums/Wiki about CAPTCHA’s and got it to show in my contact page email form. Then the send email button disappeared.
To go to the page I’m working on go here.

Here’s part of the code for my form:

{if captcha}
<p>Please enter the word you see in the image below:</p>
<
p>{captcha}<br />
<
input type="text" name="captcha" value="" size="20" maxlength="20" style="width:140px; /></p>
{/if}
<p><input name="
submit" class="submit_button" type='submit' value='Send Email' /></p>

It appears to be an HTML problem for the word submit, it works in Safari which is pretty forgiving, but not in Firefox, Flock - Mozilla. When I “view source code” the word submit is red, error state.

What’s going on??

Thanks ahead of time.

Profile
 
 
Posted: 17 May 2008 06:32 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  344
Joined  05-22-2005

Try and change those double quotes in the submit tag to single, or change the single to double. Just make the syntax all the same.

<input name="submit" class="submit_button" type="submit" value="Send Email" />

Profile
 
 
Posted: 18 May 2008 07:07 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23522
Joined  05-20-2002

Think the syntax error is a bit earlier than that:

<input type="text" name="captcha" value="" size="20" maxlength="20" style="width:140px; /></p>


No closing ” on stlye.  Spot it?  See if fixing that does the trick.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
Posted: 18 May 2008 11:37 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  60
Joined  05-31-2007

Robin thank you! That was it.
Sometimes it amazes me that I can still be blind to simple HTML errors - I ran this through the W3C validator (but too quickly) and didn’t see the lack of closing quote.
All set, thank you again.
Pete

Profile
 
 
Posted: 19 May 2008 01:51 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15374
Joined  05-15-2004

Glad you’re all set.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64928 Total Logged-in Users: 34
Total Topics: 81888 Total Anonymous Users: 24
Total Replies: 440201 Total Guests: 230
Total Posts: 522089    
Members ( View Memberlist )
Newest Members:  agstudioigotthelemonmileswkakiharaAurelsbhairabEric Gunkevovitya.melnikalinm24