maximum length on input fields.

Discussion in 'HTML & Website Design' started by Jen-, May 23, 2007.

  1. #1
    Hello I have a form that some of the input fields have maximum lengths set on them so people can only add so much text into each field. For instance. maxlength='30' But when the load the form with a pad they can enter a lot more text in. Why is this happening? I thought max length was max length under any circumstances. Please let me know, thank you very much.
     
    Jen-, May 23, 2007 IP
  2. DotSauce

    DotSauce Well-Known Member

    Messages:
    74
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Physically typing text via a browser into your input text field will be limited to 30 as you specify.

    Some robots and spam bots are able to complete a form without actually visiting your web page, they just submit the fields to your script and therefore bypass your maxlength requirements.
     
    DotSauce, May 23, 2007 IP
  3. Jen-

    Jen- Peon

    Messages:
    151
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for the tip, turns out thats not it in this case. This is happening to every pad entry, even when I can see on a page counter that they are filling in my prefill pads directly. I just don't get it.
     
    Jen-, May 23, 2007 IP