1. Boolean
var @a: boolean
@a := true
@a := false
@a := unknownboolean
@a := 3.1415 <> 2.7182Boolean Textfield Postback Example
<? register input @BooleanProperty ?>
<input type="text" name="<?attr OutputId(@BooleanProperty) ?>" value="<?attr @BooleanProperty ?>">Radio Buttons Postback Example
<? register input @BooleanProperty ?>
<span>
This statement is?
</span>
<label>
True:
<input type="radio" name="<?attr OutputId(@BooleanProperty) ?>" value="true" <? if @BooleanProperty ?>checked<? end ?>>
</label>
<label>
False:
<input type="radio" name="<?attr OutputId(@BooleanProperty) ?>" value="false" <? if not @BooleanProperty ?>checked<? end ?>>
</label>
<label>
Unknown:
<input type="radio" name="<?attr OutputId(@BooleanProperty) ?>" value="" <? if IsUnknown(@BooleanProperty) ?>checked<? end ?>>
</label>Checkbox (True/Unknown) Postback Example
Checkbox (True/False) Postback Example
Last updated
Was this helpful?