{formparagraph}
Sample Usage
....
Quick Overview VideoSettings
Setting Name Type Description cols number The width of the form field in columns of characters. rows number The height of the form field in rows. General Form Settings name text Name used for labels and data bindings. default – The default value for the form field. formatter function Formats the value of the field before snippet insertion. General Command Settings trim yes/no/left/right If yes
whitespace is removed before and after the command. If left
, only whitespace to the left is removed. If right
, only whitespace to the right is removed.
Setting Name | Type | Description |
---|---|---|
cols | number | The width of the form field in columns of characters. |
rows | number | The height of the form field in rows. |
General Form Settings | ||
name | text | Name used for labels and data bindings. |
default | – | The default value for the form field. |
formatter | function | Formats the value of the field before snippet insertion. |
General Command Settings | ||
trim | yes/no/left/right | If yes whitespace is removed before and after the command. If left , only whitespace to the left is removed. If right , only whitespace to the right is removed. |
To learn more about form commands and their capabilities, see the forms guide.
The {formparagraph}
command is very similar to the {formtext} command, but it allows you to see more text by giving you access to the optional rows
setting.
It's very useful if you set up a snippet as a template and you want to insert more custom content somehwhere in the snippet.
For example, you can have a general template that you use at the top and bottom of your snippet but you would like to customize the middle.
Hi there,
To help us serve you better in the future, we'd love to hear about your experience with our support team.
How easy was it for you to resolve your issue with us?
{formparagraph: name=message; cols=25; rows=3}
We appreciate your time and we value your feedback.
Kind regards,
You also might consider wrapping the {formparagraph}
command with the {formtoggle} command if this will be an optional part of your snippet.