Highlighted

Multiline input

New Here ,
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

192

Likes

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

Multiline input

New Here ,
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

193

Likes

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
Dec 19, 2017 0
LEGEND ,
Dec 19, 2017

Copy link to clipboard

Copied

That is simple HTML.  You want a textarea.

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

...

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

HTH,

^ _ ^

Likes

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
Reply
Loading...
Dec 19, 2017 0