Forum
Definition lists - select list doesn't function
Here is my code:
<perch:content id="elective" type="select" options="May, Must" label="Elective Unit Composition" suppress="true" allowempty="true" />
<dl>
<perch:repeater id="units" label="Elective Units">
<dt><dfn><perch:if id="elective" value="May">The elective units may consist of:</perch:if><perch:if id="elective" value="Must">The elective units must consist of:</perch:if></dfn></dt>
<dd><span><perch:content id="unit" type="text" label="Unit" required="true" title="true" /></span></dd>
</perch:repeater>
</dl>
If you are trying to access the value of the select inside the repeater, you need to include
scope-parent="true"
in yourperch:repeater
tag and then change the referenced ID inside the repeater toparent.elective
.Thank you for that guidance.