Results 1 to 3 of 3

Thread: Forms

  1. #1

    muso's Avatar
    Member Since
    Jan 15, 2003
    Whangarei, New Zealand
    Anybody know a way of limiting the number of characters in a textarea short of making an error page with php?
    I'm in your forums, writing sentences in a grammatically acceptable manner.

  2. #2
    Using Javascript an option?

  3. #3

    Murlyn's Avatar
    Member Since
    Jun 11, 2003
    Mount Vernon, WA
    MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
    Well you could just take let's say the first 50 characters by doing something like this:

    $newString = substr($_POST['textarea'], 0, 50);

    But if you want it to be interactive then I would use javascript.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Flyers/Forms
    By Rutrowe in forum Switcher Hangout
    Replies: 2
    Last Post: 02-25-2015, 08:08 PM
  2. Fillable forms
    By NoFun in forum OS X - Apps and Games
    Replies: 1
    Last Post: 09-20-2012, 05:04 PM
  3. filling in forms
    By Rufus66 in forum Switcher Hangout
    Replies: 1
    Last Post: 10-05-2011, 11:24 AM
  4. Forms in iweb, anyone?
    By dsomega in forum OS X - Apps and Games
    Replies: 0
    Last Post: 05-20-2010, 05:35 PM
  5. Creating Forms
    By cniverson in forum OS X - Apps and Games
    Replies: 3
    Last Post: 04-16-2009, 09:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts