List the Value of a Checkbox

Sample HTML function that indicates whether a checkbox named BasicCheckbox has been checked or not.

VBScript Code


Sub RunScript
    If BasicCheckbox.Checked Then
        Msgbox "The checkbox has been checked."
    Else
        Msgbox "The checkbox has not been checked."
    End If
End Sub