Ticket #565 (confirmed enhancement)
jforms: support of <switch>
Description
<switch> activate some controls depending of a value.
<switch ref="test">
<case value="aaa">
<input ref="first"> ...</input>
</case>
<case value="bbb">
<menulist>...</menulist>
<checkbox>...</checkbox>
</case>
<case value="ccc">
<output />
</case>
</switch>
Here, if the value of test is "aaa" then the input will be shown, but not the menulist, the checkbox and the output. If its value is "bbb", then only the menulist and the checkbox will be shown, etc.
Change History
Note: See
TracTickets for help on using
tickets.
