SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    193
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    what is dynamic-multiline

    I have to change this input field to a textarea:

    <input name="note" dynamic-multiline="true" autocomplete="on" type="text" id="notetext" />


    what is dynamic-multiline="true". I've never seen that before and my Google searches weren't too helpful. thanks.

  2. #2
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,810
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I was intrigued by this, looks like it's used in Actionscript for Flash after a little googling...
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    193
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    thanks. soo, it has no purpose on an input element?

    Kindof makes sense that it's there. The markup I'm editing has seen probably 5 - 10 different developers and re-purposed many over the years.

    thanks

  4. #4
    SitePoint Wizard Stomme poes's Avatar
    Join Date
    Aug 2007
    Location
    Netherlands
    Posts
    10,276
    Mentioned
    50 Post(s)
    Tagged
    2 Thread(s)
    It has no HTML purpose... I mean, no browser knows *natively* what to do with that. But you might need to leave it in if some backend system or some Javascript/whatever needs it. It's also possible that it's there only because the input is now a type=text who does not have multi lines, so it might have been a sort of text-area polyfill.

    <textarea name="note" autocomplete="on" id="notetext" rows="whatever" cols="whatever"></textarea>
    Is all you should need, though I'm allergic to autocomplete. Remember rows and cols are required, and you can set whatever size you *really* want in CSS (plus browsers like webkits let you change them anyway).


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
  •