Complementary attributes: Difference between revisions
Jump to navigation
Jump to search
Tag: 2017 source edit |
m (→Type) Tag: 2017 source edit |
||
| Line 23: | Line 23: | ||
===Type=== | ===Type=== | ||
* '''String (1 line)''' : Text on one line. | |||
* '''Long text (n lines)''' : Text on several lines. | |||
* '''Html text''' : Text with HTML tags. | |||
* '''Integer''' : | |||
* '''Float''' : | |||
* '''Date''' : | |||
* '''Date and hour''' : | |||
* '''Boolean (one checkbox)''' : | |||
* '''Price''' : | |||
* '''Phone''' : | |||
* '''Email''' : | |||
* '''Url''' : | |||
* '''Password''' : | |||
* '''Select list''' : | |||
* '''Select from table''' : | |||
* '''Radio buttons (one choice only)''' : | |||
* '''Checkboxes''' : | |||
* '''Checkboxes from table''' : | |||
* '''Link to an object''' : | |||
* '''Separator (not a field)''' : | |||
===Size=== | ===Size=== | ||
Revision as of 15:11, 22 December 2021
Introduction
Most of the Dolibarr modules have the possibilities to enhance the standard fields by new users fields. These fields are called "Complementary attributes" can be defined for objects or object lines.
How to use
Go to the parameters of the module where you want to create new user fileds
On the configuration page, select the complementary attribute menu
Then click on New Attribute
List of fields for each complementary attribute
Each attribute has a some fields that need to be set
Label or translation key
- Mandatory field
- Label of the new field. This can be a translation key (new or existing), then you also need to set the 'language file' field.
Attribute code
- Mandatory field
- Code of the new field. Can only contain alphanumerical and lower case characters without space
Type
- String (1 line) : Text on one line.
- Long text (n lines) : Text on several lines.
- Html text : Text with HTML tags.
- Integer :
- Float :
- Date :
- Date and hour :
- Boolean (one checkbox) :
- Price :
- Phone :
- Email :
- Url :
- Password :
- Select list :
- Select from table :
- Radio buttons (one choice only) :
- Checkboxes :
- Checkboxes from table :
- Link to an object :
- Separator (not a field) :

