Field Validation Against Math

Component type

module

Categories

Maintenance status

Development status

Downloads

7

Component created

Component changed

This module is a plugin for Field Validation module. The purpose of this module is to give site builders a method to set validation criteria that compare current field value to other values in one or more fields from the same form, combined, with no custom code involved. It allows simple comparisons and math operations.

How does it work:

For example:

"Net income should be equal to gross income minus taxes."

Would be

Simple Rate Field

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Simple rate field is a rate field that only contains a rating using star input.

The module doesn't have any depedencies and work without any external libraries.

Simple tabs field

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This module is created to help users create tabs in accordance to their theme. There are two templates provided under the theme folder. After installing copy the file field--tabs.html.twig under the templates folder of the module to your templates theme folder and start editing it. The above file is provided for bootstrap theme but it can be edited to suite any theme. The default theme used by the module is called simple-tabs-field-formatter.html.twig and it is not much of a tab.

Image style per role

Component type

module

Maintenance status

Development status

Component created

Component changed

Image style per role is a new Image field formatter that allows to display image with a different image style for every role.
Module has a configuration for roles and styles available.

If the user has a multiple roles - the image style for role with a highest weight would be used as a priority.