Adding custom fields/Textarea Field: Difference between revisions
From Joomla! Documentation
| Line 23: | Line 23: | ||
=====Using the field in the frontend===== | =====Using the field in the frontend===== | ||
In the frontend, you can see the field as you see in the following image. The option ''Automatic display'' is responsible for the position of the field and your template is responsible for the design of the field. | In the frontend, you can see the field as you see in the following image. The option ''Automatic display'' is responsible for the position of the field and your template is responsible for the design of the field.<br /> | ||
Fields are only displayed in the frontend if you have filled them with data in the article. If it is not a required field, can you forget it? | |||
[[File:Textarea_field_frontend-en.png]] | [[File:Textarea_field_frontend-en.png]] | ||
Revision as of 11:12, 12 February 2017
Textarea
Provides a text area for entry of multi-line text.
Options
Special options within this field are:
- Rows
The number of rows of the field. The rows are active in the backend while creating an article or a contact or a third party component that supports custom fields. This option has no impact on the size of the field in the fronted. - Cols
The number of columns of the field. The cols are active in the backend while creating an article or a contact or a third party component that supports custom fields. This option has no impact on the size of the field in the fronted.
Related Information
Screenshots
Creating the field
Let's say you create a field with the options shown in the next figure.
Using the field in the backend
In the backend while creating an article or a contact you see the field like in the following imageː
Using the field in the frontend
In the frontend, you can see the field as you see in the following image. The option Automatic display is responsible for the position of the field and your template is responsible for the design of the field.
Fields are only displayed in the frontend if you have filled them with data in the article. If it is not a required field, can you forget it?

