Hi everyone.. I have a client who wants the visitor to click an accept terms box before downloading a PDF file.. I know I need a form of some sort to process this, but I'm having a mental block about where to start.. can anyone help me out here??
Thanks
Regards, Debbie ^v^ ^o^ //\o/\\ ^o^ ^v^ Webmaster - System Admin Bookmark our new Blog/Journal featuring News, New Arrivals and special deals. http://journals.aol.com/nailgdsss
I needed something like this awhile back, and found this javascript on the web:
<script language="JavaScript" type="text/JavaScript"> <!--//hide script function checkme() { missinginfo = ""; if (!document.form.Conditions.checked) { missinginfo += "\n - You must agree to the Conditions.";
}
if (missinginfo != "") { missinginfo ="You must agree to the Conditions."; alert(missinginfo); return false;
}
else { return true;
} }
// ---> </script>
Then your form would have to look something like this:
<form name="form" method="post" action="http://www.mysite.com/myform.cgi" onSubmit="return checkme();"> <input type="checkbox" name="Conditions" value="I Agree"> I have read and agree to the conditions above. <input type="submit" name="" value=" Submit "> </form>
Carl
On 2/19/08 12:55 PM, "Debbie Doerrlamm" <webmas...@beautytech.com> wrote:
> Hi everyone.. I have a client who wants the visitor to click an > accept terms box before downloading a PDF file.. I know I need a form > of some sort to process this, but I'm having a mental block about > where to start.. can anyone help me out here??
> Thanks
> Regards, > Debbie ^v^ ^o^ //\o/\\ ^o^ ^v^ Webmaster - System Admin > Bookmark our new Blog/Journal featuring News, New Arrivals and special deals. > http://journals.aol.com/nailgdsss
> > Hi everyone.. I have a client who wants the visitor to click an > > accept terms box before downloading a PDF file.. I know I need a form > > of some sort to process this, but I'm having a mental block about > > where to start.. can anyone help me out here??
> > Thanks
> > Regards, > > Debbie ^v^ ^o^ //\o/\\ ^o^ ^v^ Webmaster - System Admin > > Bookmark our new Blog/Journal featuring News, New Arrivals and > special deals. > > http://journals.aol.com/nailgdsss
Regards, Debbie ^v^ ^o^ //\o/\\ ^o^ ^v^ Webmaster - System Admin Bookmark our new Blog/Journal featuring News, New Arrivals and special deals. http://journals.aol.com/nailgdsss
>Hi everyone.. I have a client who wants the visitor to click an >accept terms box before downloading a PDF file.. I know I need a form >of some sort to process this, but I'm having a mental block about >where to start.. can anyone help me out here??
I have a perl script and html form to do just that for an old client. If you want it, let me know and I'll Email you the ziped versions.
Regards,
Daniel Dawdy - Ribbon Rail Productions - Internet Publishing & Hosting 407 East Chippewa St - Dwight, IL 60420 Voice 815.584.1577 / FAX 800.783.0127 dda...@ribbonrail.com / http://ribbonrail.com All outbound mail from rrp is virus scanned for your protection
mission accomplished.. it was a very simple task actually once Carl gave me some links for redirect scripts at cgi resource I belive it was and a java script to ensure they clicked the box.. I'll be happy to share if anyone wants..
>>Hi everyone.. I have a client who wants the visitor to click an >>accept terms box before downloading a PDF file.. I know I need a form >>of some sort to process this, but I'm having a mental block about >>where to start.. can anyone help me out here??
>I have a perl script and html form to do just that for an old >client. If you want it, let me know and I'll Email you the ziped versions.
>Regards,
>Daniel Dawdy >- >Ribbon Rail Productions - Internet Publishing & Hosting >407 East Chippewa St - Dwight, IL 60420 >Voice 815.584.1577 / FAX 800.783.0127 >dda...@ribbonrail.com / http://ribbonrail.com >All outbound mail from rrp is virus scanned for your protection
Regards, Debbie ^v^ ^o^ //\o/\\ ^o^ ^v^ Webmaster - System Admin Bookmark our new Blog/Journal featuring News, New Arrivals and special deals. http://journals.aol.com/nailgdsss
Since we are slightly off topic, I am looking for a way to keep
spammers from entering my forms and sending me junk. Almost all sites
are using this kind of thing, where a random image generator, shows
some letters they must enter before proceeding. It keeps the bots from
slamming the sight.
>Since we are slightly off topic, I am looking for a way to keep >spammers from entering my forms and sending me junk. Almost all sites >are using this kind of thing, where a random image generator, shows >some letters they must enter before proceeding. It keeps the bots from >slamming the sight.
>Can anyone help with this one?
>Thanks! >Kathy >High Country Gifts.
Did you ever get an answer to this? There are programs out there but most require a database. I have a cheap and dirty way of handling this on forms that I make. et me know.
I have had great success on several web sites using form handler scripts automatically generated at http://www.tectite.com/. I tried many other scripts, but it is the only one that stopped the spam bots. It's secure and free, though donations are accepted. By tweaking the random image settings, you can make them readable and still keep the spambots at bay. You should rename the script so it doesn't resemble anything like "formmail", though. That word is a target.
On Tue, Mar 25, 2008 at 2:15 PM, Elist <El...@ribbonrail.com> wrote:
> At 03:47 PM 3/17/2008, you wrote:
> >Since we are slightly off topic, I am looking for a way to keep > >spammers from entering my forms and sending me junk. Almost all sites > >are using this kind of thing, where a random image generator, shows > >some letters they must enter before proceeding. It keeps the bots from > >slamming the sight.
> >Can anyone help with this one?
> >Thanks! > >Kathy > >High Country Gifts.
> Did you ever get an answer to this? There are programs out there but > most require a database. I have a cheap and dirty way of handling > this on forms that I make. et me know.