Index
Business Rules
The business rules script, or operation, contains routines and functionalities that alter the system's behavior, either at a general level or at a module-specific level.
In the case of rules for specific modules, these change as required and are not part of the system core. Regarding the general rules (js/siteup/global_rules), the system applies:
System Rules
This is responsible for executing the following actions supported by jquery.
- Create a capitalization function
- Define a function to display popup messages. These will be used by
the elements contained in str_MESSAGES1.
These messages will appear for a short period of time. - Change the contents of label labels or those with that class to their idiomatic equivalents contained in the hash_DICT1 relation.
- Add the active class to form fields if necessary. (hover).
- Fields with the validate class are validated according to the data type specified in the data-is attribute using the functions in the validate internal library.
- Before submitting a form, verify that none of the fields have the error class active.
- If the system fix called errors contains fields indicating incorrect fields in a form. Add the errror class attribute to those fields; the attribute disappears if the data is modified.
- If a variable named graph_canvas exists, it assumes there is data that needs to be graphed. It queries the data for each variable to run the external chart.js library to draw it.