This is a discussion on "[SOLVED] Creating character and line limits for a form?" within the JavaScript Forum section. This forum, and the thread "[SOLVED] Creating character and line limits for a form? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Creating character and line limits for a form?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Creating character and line limits for a form?
Hi there!
Having been given an already HTML coded form, I've been asked to apply some JAVA to the various text fields in order to create character limits as at the end of the field, the text over laps the box or starts scrolling which isn't required. As a newcomer to JAVA I'm looking for some good resource sites that offer the script for use as in my current programming skills doesn't hold any JAVA capabilities. I also have a couple of questions with regards to the form I'm programming: 1. Can line limits be set (ie how many lines are used) or is it usually just a character limit? 2. If I set a character limit, would there always be a counter? If so, would it be possible to set it so that there is no counter visible? Hope people can help and I'll be extremely grateful to those that offer their advice. Thanks! |
|
|
|
||||
|
Re: Creating character and line limits for a form?
Quote:
Which are you using?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Creating character and line limits for a form?
I use this one (Javascript): Javascript Text Counter
but the real time counter only worked in IE not FF. This version works in both: Form field Limiter
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
|
|||
|
Re: Creating character and line limits for a form?
Quote:
... one's coffee and one's code? :P No seriously, I didn't realise there was a difference. It's javascript I'm looking to use I assume. Or whichever is best for creating the limits I'm looking to set. |
|
|||
|
Re: Creating character and line limits for a form?
Quote:
Do they all have counters? Ideally because there's so many fields and many of them are single bars, I'm not really looking to have counters on all of them. |
|
||||
|
Re: Creating character and line limits for a form?
Post your HTML for us?
There could be a simpler solution.. By the way you must know that the validation in the forms can be disabled easily so you have to check server-side i.e the scrip that the data gets sent to.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Creating character and line limits for a form?
Ooo it looks like we've fixed it.
Thanks all and sorry for wasting any of your time >.< |
|
||||
|
Re: Creating character and line limits for a form?
You're not wasting our time. It's what we're here for.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
|||
|
Re: [SOLVED] Creating character and line limits for a form?
Mind sharing us the "solution"
Thanks.
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [solved] I want to insert a line break | minute44 | PHP Forum | 4 | Feb 20th, 2008 12:52 |
| [SOLVED] Please help with creating a Mailing list form. | Oak | Starting Out | 3 | Dec 26th, 2007 18:54 |
| [SOLVED] Are there limits on the amount of data that can be posted via an ASP Form? | Phil | Classic ASP | 5 | Oct 26th, 2007 08:43 |
| Help creating a Multi line order form | wacara | Classic ASP | 0 | Apr 23rd, 2007 18:25 |
| Creating a character name | Throntel | Flash & Multimedia Forum | 2 | Dec 3rd, 2006 00:09 |