• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Multiline input

New Here ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

Hi

I have found a form online which work great!

Now I want to add a new box to the form which allows for a message, so i want the box to be bigger, multiple lines rather than the 1 line I have at the moment.

Currently I have the following

at the top of the page:

    <cfparam

        name="FORM.email"

        type="string"

        default=""

        />

In the form:

<div class="control-group form-group">

     <div class="field-text">

       <label for="email">

       Email:<br><br>

       <input

            type="text"

            name="email"

           id="email"

            value="#FORM.email#"

            />

       </label>

       </div>

  </div>

I would like to have a new one called message.

Hope someone can help

Mark

Views

320

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 19, 2017 Dec 19, 2017

Copy link to clipboard

Copied

LATEST

That is simple HTML.  You want a textarea.

<cfparam name="form.message" type="string" default="" />

...

<textarea name="message" id="message">#form.message#</textarea>

HTH,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation