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

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 07:32 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  302
Joined  2005-05-22

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 08:07 AM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  19997
Joined  2002-05-20

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 Tips * Pro Network

Profile
 
 
Posted: 19 May 2008 12:37 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  58
Joined  2007-05-31

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 02:51 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  11712
Joined  2004-05-15

Glad you’re all set.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.
No PM’s, please—use regular mail.

Profile
 
 
   
 
 
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 10:33 AM
Total Registered Members: 58780 Total Logged-in Users: 13
Total Topics: 69462 Total Anonymous Users: 11
Total Replies: 373921 Total Guests: 421
Total Posts: 443383    
Members ( View Memberlist )