Block

Block

in

The block element is a form item. It contains executable content that is executed if the block’s form item variable is undefined and the block’s cond attribute, if any, evaluates to true. The name attribute is the form item variable used to track whether the block is eligible to be executed. This defaults to an inaccessible internal variable. The cond attribute is an expression that must evaluate to true after conversion to Boolean in order for the form item to be visited. The expr attribute is the initial value of the form item variable. The default for this attribute is ECMAScript undefined. If initialized to a value, then the block will not be visited unless the form item variable is cleared.

Related links

Search Glossary

Term of the Day

Mixed initiative forms are created when both the computer and the human can direct the flow of the phone call. To make a form mixed initiative, it must have one or more form-level grammars.
See also: Grammar