D.3 <form:if-multiple-items>

The <form:if-multiple-items> element is used to conditionally insert data into the output document. The content of <form:if-multiple-items> is processed only if the specified item appears more than once in the replacement data.


name: Specifies the name of the replacement data item. If more than one example of the replacement data item exists, then the content of the <form:if-multiple-items> is processed.


<form:if-multiple-items name="responder-dn">
    <form:menu name="responder-dn"/>

This example builds an HTML SELECT element (see <form:menu>) if there is more than one replacement data item with the name responder-dn.