CodBi
    Preparing search index...

    Maintainer: Salvatore Callari (Salvatore.Callari@Ansbach.net)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • This functionality applies a certain functionality onto the object toProcess depending on whether a given condition is fulfilled or not. The functionalities to apply are defined by the tagged HTMLInputElement's attributes. Those attributes start with either cb_T_, for attributes to be applied when the tagged HTMLInputElement and the "reference" value are successfully compared by the specified "mode", or with cb_F_ if not. For example to define a JSON.SET that sets the "target"'s style.display property onto the "target" for both success and failure following attributes are also needed for the tagged HTMLInputElement: cb_T_FUNC, cb_T_Path, cb_T_Property, cb_T_ToSet, cb_F_FUNC, cb_F_Path, cb_F_Property, cb_F_ToSet. Omitting T or F attributes will result in nothing to happen in case of success (T) or failure (F).

      Config Parameter:

      • Reference: The value the HTMLInputElement's value shall be compared with.
      • Mode: Defines the mode of comparison to apply onto the HTMLInputElement's value and the "reference" value. Available modes are GTE (greater than or equal), GT ( greater than ), LTE ( lower than or equal ), LT ( lower than ), EQ (equal) & NEQ (not equal).
      • Target: The Element where to apply one of the specified functionalities depending on whether the given "condition" is fulfilled or not or a CSS-Selector. To work in a repetitive container a CSS-Selector is mandatory since the functionality performs the query relative to the tagged HTMLInputElement.
      • DateFormat: A optional string specifying the format the candidate is of. If this parameter isn't undefined it triggers value of the tagged field transformation into a Date prior to compare it with the reference. If not specified the format is assumed to be MM/DD/YYYY or a format parsable by the Date constructor.
      • Candidate: The Element where to get the value to be compared or a CSS-Selector. To work in a repetitive container a CSS-Selector is mandatory since the functionality performs the query relative to the tagged HTMLInputElement.

      Parameters

      Returns undefined

      A CodBiError a "DateFormat" is specified and the tagged HTMLInputElement'S value couldn't be converted to a Date by formatDate.