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
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,
^ _ ^