Path

ez projects / ezsumtype


eZJSSUMType

UNIX name Owner Status Version Compatible with
ezsumtype Olivier Portier beta 0.1 4.0
This extension provide a custom attribute to add up integer values of attributes in a same content class.

This datatype have been developped for a Car project using multiple integer fields for car tries. The goal is to do the sum of 5 technical notes and record the sum automatically.

The sum is done in javascript and recorded in the numeric field of the data type. The integer attributes used in the sum are automatically discovered by the javascript code by their suffix. The attribute identifier have to contain the same suffix, who is configurable in the data type and can be different for each content class.

This attribute can be searchable and sortable in a fetch.

Screenshot

View of a ezjssumtype used to add up all the attributes finishing by th suffix _note
View of a ezjssumtype used to add up all the attributes finishing by th suffix _note

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.