| Author |
Topic Search Topic Options
|
hisplaceresort
Newbie
Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 4:12pm |
YEAH!!!
You know what it was??? In the sendmail.asp file, you instructed me to put:
<%@LANGUAGE="VBSCRIPT" %> <!-- Include file for CAPTCHA configuration --> <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" --> <!-- Include file for CAPTCHA form processing --> <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" --> <%
On my sendmail.asp, I had the line:
BELOW the rest of that code, like this:
<!-- Include file for CAPTCHA configuration --> <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" --> <!-- Include file for CAPTCHA form processing --> <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" --> <%
When I changed it, it worked!!!
You rock...
I'd be happy to pay you for helping me.
Julie
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 4:22pm |
Thats cool  glad we got you sorted then Those pesky <> will get you everytime  I'm glad you got it going. If you feel inclined to make a donation, then if you have PayPal, which you probably do, then you can by going to: http://www.justcheck.co.uk/support_us.asp By the way - your site looks very good
|
|
|
 |
hisplaceresort
Newbie
Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 4:49pm |
I actually did have the <>, just had the one line below the others instead of above it. And, apparently, it really DID matter!
I'll make a donation on your site...
Thanks for the compliment on the site. It was my first... I've learned a lot... For me, building this website was kind of like encountering a super massive black hole that sucks in all energy, matter, light...
No matter what I do, it will never be complete!
Now if I can just figure out why the auto centering script on the form2.asp blew up when I added the:
<!-- Include file for CAPTCHA configuration --> <!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->
(If you noticed, the rest of my website shows up centered on the screen.) I'm going to guess that I need to add those 2 lines BELOW the code:
instead of ABOVE it, like I have it now. I'll play with that a little, and if I can't get it, I'll bug you again!
Thanks!
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 5:05pm |
I can't see why the script would effect the page layout, but if you get stuck, just give us a shout  And I agree - creating websites can be a time consuming "hobby"  , and quite often when we learn new things, we will go back and improve our sites. I assume you are doing the captcha to cut down on spam bots, but you can also add in a handy Javascript check which means that certain fields must be completed too Go back to our contact form, refresh your browser and then click submit without filling in any bits - you should get a popup saying what was missed out
|
|
|
 |
hisplaceresort
Newbie
Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 5:12pm |
I just tried what I was telling you... and moving those 2 lines below the doctype line fixed the centering problem. form2.asp is now auto-centering again...
Yes, the captcha was for spambots... OMG, do these people not have anything better to do with their time than to drive me crazy??? I only had the form up for 2 days before I started getting the garbage mail.
As far as requiring fields... my guests are SUCH babies! "You already have my contact info on file; I shouldn't have to fill out those fields..." "I only want to go fishing on a particular date... I don't want to fill out the departure date..." SO! NO required fields for them!
Thanks again! I made a donation, too... :-)
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 5:22pm |
Thankyou for making a donation  As for spambots -  and agrees that they should be shot I understand what you are saying about your guests but one good field being worth required is the email address. At least then they have to type something@whatever (and hopefully it is their actual email address)  But LOL at the other bits about the excuses Send me a picture sometime of your biggest fish
|
|
|
 |
hisplaceresort
Newbie
Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 9:33pm |
OK, OK...
I'll bite on the javascript... Not so much that I need to validate any fields... but I want to know how to validate fields if I ever need to...
Do you have a link to that?
Thanks!
|
 |
Scotty32
Moderator Group
Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 December 2008 at 10:50pm |
I suspect the reason for your problems may because you have comment tags. If you put the include (the "<!--#include" part) before any HTML but remove the comment tag ( <!-- Include file for CAPTCHA configuration --> ) it should be fine. This is because the Doctype should be the first line in the page. *edit* For javascripts have a look at http://www.javascriptkit.com
|
|
|
 |