Get field value as boolean.
Namespace:
GeonBit.UI.Utils.Forms
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public virtual bool GetValueBool(
string fieldId,
Nullable<bool> defaultVal = null
)
Parameters
- fieldId
- Type: SystemString
Field to get. - defaultVal (Optional)
- Type: SystemNullableBoolean
Default value to return if value to get is null, unselected, or empty string.
Return Value
Type:
BooleanField's value.
See Also