HtmlForgeX

API Reference

Command

New-HtmlXCheckboxGroup

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerCheckboxGroup

Creates a checkbox group control.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXCheckboxGroup -Name "alerts" -Label "Notifications" -Options @("Email", "SMS", "Webhook") -Checked @("Email", "Webhook")
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXCheckboxGroup [-Checked <string[]>] [-Disabled <string[]>] [-Hint <string>] [-Inline] [-Label <string>] [-Name <string>] [-Options <string[]>] [-ValidationMessage <string>] [-ValidationState <Valid|Invalid|Warning>] [<CommonParameters>]
#

Parameters

Checked string[] optionalposition: namedpipeline: false
Options that should be checked.
Disabled string[] optionalposition: namedpipeline: false
Options that should be disabled.
Hint string optionalposition: namedpipeline: false
Hint text.
Inline SwitchParameter optionalposition: namedpipeline: false
Render inline.
Label string optionalposition: namedpipeline: false
Label text.
Name string optionalposition: namedpipeline: false
Group name.
Options string[] optionalposition: namedpipeline: false
Options list.
ValidationMessage string optionalposition: namedpipeline: false
Validation message.
ValidationState ValidationState optionalposition: namedpipeline: falsevalues: 3
Validation state. Possible values: Valid, Invalid, Warning
Possible values: Valid, Invalid, Warning

Outputs

HtmlForgeX.TablerCheckboxGroup