Web Custom Modifier
Enable easily customizing view modifiers.
Conditions générales
Garantie satisfait ou remboursé de 30 jours
Expédition : 2-3 jours ouvrables
Web Custom Modifier
This module allows to customize modifiers on form view nodes.
For example, it allows to make a field readonly, invisible or required.
Table of Contents
Usage
As system administrator, I go to Settings / Technical / User Interface / Custom Modifiers.
I create a new custom modifier.
The modifier is configured to make the field default_code of a product required.
After refreshing my screen, I go to the form view of a product.
I notice that the field default_code is required.
Advanced Usage
In the field Type, I can select Xpath. This allows to set a modifier for a specific view node, such as a button.
The example above hides the a button in the form view of a product.
Hide Selection Item
Since version 1.1.0, the module allows to hide an item (option) of a selection field.
The above example hides the type of address Other.
Beware that if the hidden option is already selected on a record, it will look as it was never set.
Therefore, this feature should only be used to hide options that are never used.
Force Save
Since version 1.2.0 of the module, a new option Force Save is available.
This modifier may be used along with the Readonly modifier so that the field value is saved to the server.
Excluded Groups
Since version 1.3.0 of the module, a new field Excluded Groups is available.
If at least one group of users is selected, the modifier is not applied for users that are member of any of these groups.
This is useful when rendering an element readonly or invisible only for a subset of users.
Custom Widget
Since version 1.4.0 of the module, it is possible to customize the widget used for a given field.
Number of lines per page (List Views)
Since version 1.5.0, a new modifier is added to set the number of lines per page in list view.
In the following example, we set a limit of 20 sale order lines per page on a sale order form view.
Result:
Contributors
- Numigi (tm) and all its contributors (https://bit.ly/numigiens)