FormHelperEnsureDefaultValues Method |
Ensures the default class values to the Data container for required fields (not allowing empty value) without a value.
Namespace: CMS.FormEngineAssembly: CMS.FormEngine (in CMS.FormEngine.dll) Version: 12.0.0
Syntax public static bool EnsureDefaultValues(
string className,
IDataContainer container,
FormResolveTypeEnum resolveType = FormResolveTypeEnum.None
)
Parameters
- className
- Type: SystemString
Class name - container
- Type: CMS.BaseIDataContainer
Data container - resolveType (Optional)
- Type: CMS.FormEngineFormResolveTypeEnum
Type of macro resolving
Return Value
Type:
BooleanReturns TRUE if at least one default value was ensured.
See Also