Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 5th, 2005, 01:37 AM
Authorized User
 
Join Date: Apr 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to rain_uk
Default Counting Characters

Hello :D

This is my problem, i have upto 8000 bytes to enter into a database field using an ASP form. Due to the information that goes in it fills up quickly.

What i need is a counter on the side of the form telling them how many characters they have currently input into the form (table field) so that they dont get a truncate error if they try to insert the details.

Is this possible

 
Old July 6th, 2005, 04:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yes, you can use a javascript function to find the length of the entry in the textbox/textarea in the onchange event for the same.

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
counting characters from a textbox ayem Visual Studio 2008 2 October 7th, 2009 10:40 PM
counting characters in a field emiminja SQL Language 1 August 26th, 2006 12:35 AM
Counting records Jonas Access 4 August 4th, 2006 09:07 AM
Counting ?!? hcweb Classic ASP Basics 2 December 8th, 2003 05:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.