Defines whether or not the item is visible on the screen and can be printed.
<visible>status</visible>
Parameter | Type | Description |
---|---|---|
status | on | Item can be seen on the screen and printed |
off | Item cannot be seen on the screen and will not print when the form is printed. |
box, button, check, checkgroup, combobox, field, label, line, list, popup, radio, radiogroup, richtext, slider
This sample shows how an item can be set to be visible at the user's request.
<check sid="SHOW_INSTRUCTIONS">
<value>off</value>
<label>Do you want to see the instructions?</label>
</check>
<label sid="INSTRUCTION_LABEL">
<visible compute="SHOW_INSTRUCTIONS.value=='on' ? 

'on' : 'off'"></visible>
<value>Please complete all portions of this form.</value>
</label>
These cases are true regardless of the visible option for that XFDL item, and regardless of whether the XFDL item itself contains XForms options.