NetTalk Central

Author Topic: Any way to update a character count from a text box?  (Read 3341 times)

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Any way to update a character count from a text box?
« on: December 01, 2008, 12:42:17 AM »
I need to track how many characters are being entered in a text field (happens to be HTML control) for billing purposes. Is there any way to make the field check the contents as they are being typed? This might also be used when checking for illegal characters in a field. It would be like a send to server type embed, but I don't see one. Anyone have any experience? Thank you!
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Any way to update a character count from a text box?
« Reply #1 on: December 01, 2008, 11:35:39 PM »
Hi Mike,

it can be done using JavaScript - but it's not exactly trivial.

You can of course set the maximum length of the text field itself.
(The Max Length setting.)

Cheers
Bruce