WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Change TEXTAREA in Contact Form 7 plugin

[Resolved] Change TEXTAREA in Contact Form 7 plugin

  • danicasati

    @danicasati

    Hello.
    I need to get bigger TEXTAREA into my forms generated with Contact Form 7 plugin.
    How can I do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • danicasati

    @danicasati

    Ok.

    File: wp-contact-form-7.php
    Change line 767:
    $html = ‘<textarea name=”‘ . $name . ‘”‘ . $atts . ‘>’ . $value . ‘</textarea>’;

    into:
    $html = ‘<textarea cols=”40″ rows=”15″ name=”‘ . $name . ‘”‘ . $atts . ‘>’ . $value . ‘</textarea>’;

    where COLS and ROWS are your personalized value.

    Thank you – this has helped me a lot.

    Hello!
    Does anyone know how to modify the structure of the form? I need to place 2 required info fields in the same line, while the default configuration of this plugin only allows 1 field x line in vertical disposition.

    The result should be visualized in this way:

    from…
    NAME [FIELD]
    SURNAME [FIELD]
    CITY [FIELD] COUNTRY [FIELD]

    to…
    NAME [FIELD] SURNAME [FIELD]
    CITY [FIELD] COUNTRY [FIELD]

    Thank you!

    Are you talking about placing it on the form, or the email message that’s sent from the form?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Change TEXTAREA in Contact Form 7 plugin’ is closed to new replies.
Skip to toolbar