navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Form validation?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Form validation?
Page: [1]
 
Reflect

 

Posts: 4769
From: USA
Status: offline

 
Form validation? - 3/17/2006 13:11:34   
I use hand created forms, not FP created forms.

What is a good validation via random image script I could plug into the form to stop SPAM. Page is ASP based if it matters.

Thank you,

Brian

_____________________________

coreybryant

 

Posts: 2479
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Form validation? - 3/17/2006 13:25:37   
Do you have the ASP component CSImage on your server? My programmer built one using this and it has saved us.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to Reflect)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 3/18/2006 10:51:47   
HiCorey,

Thank you for taking the time to help.

I unfortuneatley only run ASPImage. I believe, going from memory, that CS is cold fusion?

Thank you,

Brian

_____________________________


(in reply to coreybryant)
coreybryant

 

Posts: 2479
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Form validation? - 3/18/2006 10:56:40   
Actually no - we run all those ASP components but we also run ChestySoft Chesty Soft components as well. We had better luck in some development with the csImageFile than ASPJPG.

If you want - I can send you the code that we use calling they csImageFile and see if you can get it to work with the other component?

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to Reflect)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 3/20/2006 9:05:24   
Sure, I'm game.

Anyone else?

Thank you,

Brian

_____________________________


(in reply to coreybryant)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 3/22/2006 9:11:30   
Bump....

Anyone?

Take care,

Brian

_____________________________


(in reply to Reflect)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: Form validation? - 3/22/2006 10:13:16   
i would think it fairly simple in javascript ( i think..lol)
create a few images with letters and numbers, say 5
create an associative array (or two arrays), one for each image and one for the "correct answer.

you could use a random number generator to select which image to present and when the form is validated client side, if the correct number isnt entered, you "re-present" a new image.
make sense?

_____________________________

Dan

(in reply to Reflect)
Kitka

 

Posts: 2520
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Form validation? - 3/22/2006 15:27:20   
These are a couple of free ones I've found, but not tried:

http://www.u229.no/stuff/Captcha/

http://www.motobit.com/util/captcha/

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to Reflect)
coreybryant

 

Posts: 2479
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Form validation? - 3/22/2006 17:44:45   
Sorry Reflect - I missed this post. I actually remembered I uploaded it to Image Verification Contact Form - a client called me yesterday actually and said it worked great.

Hopefully you will have some luck with it as well.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to Kitka)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 3/23/2006 9:03:10   
Rorey,

Thank you I will play this weekend to see if the two different server components work relativly the same.

Kitka,

The second link is out as my shared server does not run "office web components", shame that looked like a nice solution. The first link seems very "do able", I will have to look into that one this weekend also.

I found another one that runs $25 if you want the "promo link" removed. I found a few others but they relied on php which this site can not or again contained "promo klinks" that are easily removed but you know tha goes against my ethics.

Take care,

Brian



_____________________________


(in reply to coreybryant)
coreybryant

 

Posts: 2479
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Form validation? - 3/23/2006 12:11:58   
BTW - I just realized after seeing that word - captcha did one Web Wiz CAPTCHA as well. The thing I did not like about hat one - it is difficult to read those letters / numbers. With the one I had them do - the characters are very easy to read. :) - Web Wiz actually does not use any components either.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to Reflect)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 3/23/2006 13:23:16   
Yup, I noticed the same thing though...blurred images.

I read more, at lunch, about the solutuions Kitka pointed to and the one I liked used JS, css, and asp...no server components and no promo links either, nice.

Take care,

Brian

_____________________________


(in reply to coreybryant)
Kitka

 

Posts: 2520
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Form validation? - 3/23/2006 18:36:48   
quote:

The thing I did not like about hat one - it is difficult to read those letters / numbers


I'm sure you could make your own or substitute other images that are not so blurred. It'd be strange if you were restricted to using only the images that they provide, mostly because it would reduce the security level of the method.

_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to coreybryant)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 4/1/2006 12:16:36   
Hi,

Corey, I did end up going with Web Wiz. Too easy to setup and for $16 US I am licensed to remove all linkage to them. They have some nice little scripts/applications available also. nice site.

Kitika, it doesn't use images. My concern with using images is some "bots" are using OCR technology. I was checking out the "image file". It is an ASP page with Hex image values. I know nothing about this but in the next week I plan on looking into it. If it's not way over my head I plan on editing the line values to weed out the "fuzzy" ones.

Take care,

Brian

_____________________________


(in reply to Kitka)
coreybryant

 

Posts: 2479
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: Form validation? - 4/1/2006 16:54:43   
Glad it worked out for you. I looked at that as well but decided that since our clients would need it, it would be easier for us to have our own script in the long run. So far we have not run into any problems with the bots / OCR - when we do, we can just update / change it, but I think it willl be awhile.

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to Reflect)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 4/8/2006 13:54:20   
Hi All,

Well I am working through removing hex images. I am 3/4 of the way through240 of them. I have around 18 that I will have to edit out so far.

I also added JS form validation to try to further remove rouge use of my email forms. I have it setup but I want to "better" validate the email field. How can I reject if the"email" field is not *@* ?

Here is an example of what I have. How could I modify the EXISTING code to do this?...

<script language=JavaScript>
<!--
function ValidateExample1() {
var FieldList = "";

if (Example1.Field1.value == ""){
FieldList = "Field1\n";
};

if (Example1.email.value == ""){
FieldList = FieldList + "email\n";
};

if (FieldList == ""){
Example1.submit();
} else { alert("We did not get all the information we need from you.\n\nPlease fill in the following field(s):\n\n" + FieldList);
};
}
//-->
</script>




form method="post" name="Example1">
Field1 : <input name="Field1" size="20" type="text">
<p>Email : <input name="email" size="20" type="text">
</p><p><input value="Submit" onclick="ValidateExample1();" type="button"></p>


Thank you,

Brian

_____________________________


(in reply to coreybryant)
Kitka

 

Posts: 2520
Joined: 1/31/2002
From: Australia
Status: offline

 
RE: Form validation? - 4/8/2006 18:27:57   
Hi Brian,

This method works for me:

 if (Example1.email.value.indexOf("@")==-1)


_____________________________

Kitka
**It is impossible to make anything foolproof because fools are so ingenious.**


(in reply to Reflect)
Reflect

 

Posts: 4769
From: USA
Status: offline

 
RE: Form validation? - 4/10/2006 14:42:31   
Thank you Kitka.

Take care,

Brian

_____________________________


(in reply to Kitka)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Form validation?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts