Results 1 to 2 of 2

Thread: textarea allows to start writing in the middle of the box

  1. #1
    User Carolina's Avatar
    Join Date
    09-05-12.
    Location
    London
    Posts
    99

    Default textarea allows to start writing in the middle of the box

    The textarea allows me to start writing in the middle of the input field. I set it to allow 500 characters which should be fine for the height I give it in the design.
    I have deleted it and created it a new one, but it's still the case.
    It works fine if I just leave the design to the default one line height.
    As soon as I give it a different height, then the beginning of the writing starts in the middle.
    Here's the form: http://assembly21.com/contact.html

    Thanks!
    Carolina

  2. #2
    Community-Moderator xchs's Avatar
    Join Date
    06-20-09.
    Posts
    1,287

    Default

    Hi,

    just use the proper HTML element, i.e. <textarea> instead of the ordinary <input> text field. That said, switch the field type for your message field (see form generator > form settings) to "Textarea" and style this field accordingly.
    Contao Community Moderator
    → Support options

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
  •