Click to See Complete Forum and Search --> : Limit Textarea Script


Deanna475
05-01-2003, 04:09 AM
Hi all. I am trying to use a script from JavaScript Source entitled "Limit Textarea" and found here (http://javascript.internet.com/forms/limit-textarea.html) In the <FORM> part of the script, there is a reference to

<form name=myform action="YOUR-SCRIPT.CGI">


What is this YOUR-SCRIPT.CGI ?? I can't get the script to work and maybe this has something to do with it? My form tag looks like this:


<FORM name="feedback" method="post" action="mailto:administrator@zzz.com" enctype="text/plain">

so how would I incorporate this YOUR-SCRIPT.CGI if it is even required?

Any and all assistance is appreciated. Thank you.

beebob
05-01-2003, 04:16 AM
this is the file where the data goes to. the name means that you need a special file that handles this data (e.g. written in the languages perl, php, jsp, etc).

you'll find such files on many scriptsites but you have to find out which languages do work on your webserver.

Deanna475
05-01-2003, 11:55 AM
Ahhhhhh, OK. I get it now. Well, the description for the script makes no mention of such a file being required which is why I was confused. Here's the description:

This script controls a maximum textarea input amount and updates a small counter with how many characters are left with each keystroke. Dynamic fix now allows you to use this script in multiple textboxes on a page. Easy!

Not so easy after all. :(

Thanks for your feedback Beebob. Much appreciated.

Deanna