Block

XML Forms Guide

Version
R2024.1.1
Block

The <Block> tag creates or identifies a block within the form. A block is a large column that contains rows and columns, which you can use to place controls in specific places around the form, as shown in this example:

Example of blocks in a form
Block 1 (3 Columns) Block 2 (4 Columns)
Label (block 1, row 0, column 0)     Label (block 2, row 0, column 0)   Label (block 2, row 0, column 2)  
Field (block 1, row 1, column 0)     Field (block 2, row 1, column 0)   Field (block 2, row 1, column 2)  
             

All of these columns and rows are zero indexed, so the top left position is 0,0.

The <Block> tag under <FormBody> creates a single block for the entire form. Within the <BlockTag> tag you use the <NumberOfColumns> tag to specify the number of columns within the form. The <Block> tag within each field declaration identifies the number of the block (1).

Possible values:

  • Integer