|
Posted by Geoff on 01/04/07 14:52
Thks for the prompt reply. I simply want to see what each visitor has typed
into the textbox. It is too complicated using serverside variable passing,
to have it emailed to me every time, so I thought simply to have the content
of the textbox added to a list on a hidden page which I could access
occasionally to see what numbers had been entered.
Thks again
Geoff.
"Jonathan N. Little" <lws4art@centralva.net> wrote in message
news:89f7a$459d12cc$40cba7cd$25819@NAXS.COM...
> Geoff wrote:
>> Hi.
>> I want to check the number of characters which have ben entered into a
>> textbox on a form. Then, if the number is (say) 15, to display a
>> message. If the number of characters is more or less than this, then
>> display a different message. Can this be done in HTML alone, I don't
>> really want to use javascript. Are functions like CHR_LEN available in
>> HTML?
>
> No. HTML is just a markup language. Once you say "function" that implies
> program that has methods... It would require JavaScript to do what you
> wish.
>
>
>>
>> Secondly, I want the number that has been entered, to be added to a list
>> on a hidden page. If anyone can point me in the right direction, I would
>> be most grateful.
>
> Now here you lose me. DO you mean something like a tally for a poll? If so
> you need some server-side scripting. Your form would have to post to,
> specified in the ACTION attribute of your FORM element. The script would
> have to process and store said value in some sort of data file or
> database.
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIO
> http://www.LittleWorksStudio.com
[Back to original message]
|