|
| |
|
|
malky800
Posts: 116 Joined: 1/11/2006 Status: offline
|
Truncate field - 6/26/2007 10:08:03
When I pass data from my text field into my sql table, the data is more characters than allowed so it throws the user an error. Is there a way to set it, that if they are too many characters just truncate the extra characters and allow it through?
|
|
|
|
malky800
Posts: 116 Joined: 1/11/2006 Status: offline
|
RE: Truncate field - 6/26/2007 12:06:06
What javascript code can I use to cut it at the 50th character? Then keep text1= first hald text2= second half
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|