Results 1 to 2 of 2

Thread: Textarea Validation...need desperate help . please!!

  1. #1
    Join Date
    Feb 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Textarea Validation...need desperate help . please!!

    Hi,
    I have two 'Textarea' boxes(NOT input text boxes) in my webpage. i am trying to validate them. The user cannot submit the form if one of the textarea boxes are not filled. i.e at least one of them Must be filled in.

    I have been trying validating textarea using the same codings that i used for Input boxes but it does not work. I cant figure out what might be the problem.

    I would really appreciate if someone could post a sample validation program with two textarea boxes.

    Thanks a lot in advance

    Gulluman
    Last edited by gulluman; 02-21-2006 at 03:52 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I have been trying validating textarea using the same codings that i used for Input boxes but it does not work.
    Textareas use the same members common to <input> elements, so it should work unless you use some regex that doesn't like linebreaks.
    PLEASE: Include the URL to your problematic webpage that you want help with.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

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