This namespace contains the special module functions for the DynamicFieldMultiselect module.
Methods
-
(static) AddValue(ValueInsert) → {Boolean}
-
This function adds a new value to the possible values list
Parameters:
Name Type Description ValueInsert
Object HTML container of the value mapping row. Returns:
Returns false- Type
- Boolean
-
(static) Init()
-
Initialize module functionality
-
(static) RecreateDefaultValueList() → {Boolean}
-
This function re-creates and sort the Default Values list taking the Possible Values as source, all deleted values will not be part of the re-created value list
Returns:
Returns false- Type
- Boolean
-
(static) RemoveValue(IDSelector) → {Boolean}
-
This function removes a value from possible values list and creates a stub input so the server can identify if a value is empty or deleted (useful for server validation) It also deletes the Value from the DefaultValues list
Parameters:
Name Type Description IDSelector
String ID of the pressed remove value button. Returns:
Returns false.- Type
- Boolean