As mentioned previously, it is not recommended to assign item weights within competency sections because it makes the overall rating too granular. However, if a customer requests that items within the section are weighted, you can accommodate this request.
The following two <competency-sect> attributes control weight configuration in a competency section:
- no-weight
- If no-weight="true", all items are weighted equally in the section.
- If no-weight="false", items are weighted according to the weights that you enter for each item.
- lock-item-weights
- If lock-item-weights="true", you cannot edit the weights.
- If lock-item-weights="false", you can edit the weights.
You can set item weights to have a minimum ("floor") and maximum ("ceiling") acceptable value within a section. You can configure these limits by adding the sub-element <item- weights> to the <fm-sect-config> element.
Caution
Be sure to check the Order of Elements document, DTD, and Implementation Guide to ensure that you are entering this code in the correct place. Warnings for Item Weights
If an item weight falls outside of the parameters, a warning appears, though it does not prevent a user from routing the form to the next step. The item weight is determined in the <fm-meta> element, using the <meta-item-weight-floor-ceiling-option> sub-element. To enforce these limits (or to not allow the form to move to the next step), replace the word "warning" with the word "error".
<meta-item-weight-floor-ceiling-option>warning</meta-item-weight-floor- ceiling-option>If the item weights within a section add up to anything other than 100%, a warning appears by default, though it does not prevent a user from routing a form to the next step. The item weight is determined by the <weight-total-option> sub-element in the section’s <fm-sect-config>.
<weight-total><![CDATA [100.0]]></weight-total> To enforce these limits (and not allow the form to move to the next step), replace the word "warn" with the word "enforce". We recommend that all item weights within a section total 100%.
<weight-total-option><!CDATA[warn]]</weight-total-option>