Identifies the next item on the page, excluding the global item. An item is next when it appears next in the build order (in other words, it is next in the XFDL text).
This option is not saved or transmitted as part of the form. Instead, it is automatically created each time the form is read into memory, and is maintained only during display or processing.
<itemnext>item reference</itemnext>
Parameter | Type | Description |
---|---|---|
item reference | string | A reference to the next item on the page, excluding the global item. |
action, box, button, cell, check, checkgroup, combobox, data, field, help, label, line, list, popup, radio, radiogroup, richtext, signature, slider, spacer, toolbar
The following example shows what two labels look like in memory, with the itemnext option inserted in each:
<label sid="LABEL2">
<value>This is a label.</value>
<itemnext>LABEL3</itemnext>
</label>
<label sid="LABEL3">
<value>This is a label.</value>
<itemnext>LABEL4</itemnext>
</label>
You can use computes to determine the next item on the form. For example, the following code shows a label that uses a compute set its value. The compute goes to the item that currently has the focus, then copies the value of the itemnext option from that item:
<label sid="nextItemName">
<value compute="PAGE1.global.focuseditem->itemnext"></value>
</label>