on 2023 Sep 29 11:12 AM
Dear all,
I am having issues configuring the goal field id=done (percent format) as required field. There is always a 0 default value in the field whenever the field becomes visible and editable by the manager. So the validation does not get triggered despite the is only 0 as value in the field.
I though it will change if I remove the default value in XML for the field, however, it does not help. I am quite confused as for the weight field the validation works as it should. As you see below the two fields are configured identically. Is there a reason why will 0 appear as default value for the field "done"? Is there any workaround, how the validation for required field could be triggered?
<field-definition id="weight" type="percent" required="true" detail="false" viewdefault="on" showlabel="false" field-show-coaching-advisor="false" cascade-update="push-down">
<field-label>Gewichtung in %</field-label>
<field-label lang="de_DE">Gewichtung in %</field-label>
<field-label lang="en_US">Gewichtung in %</field-label>
<field-description>Gewichtung in %</field-description>
<field-description lang="de_DE">Gewichtung in %</field-description>
<field-description lang="en_US">Gewichtung in %</field-description>
</field-definition>
<field-definition id="done" type="percent" required="true" detail="false" viewdefault="on" showlabel="false" field-show-coaching-advisor="false" cascade-update="push-down">
<field-label>Ergebniserreichung in %</field-label>
<field-label lang="de_DE">% erreicht</field-label>
<field-label lang="en_US">% erreicht</field-label>
<field-description>Ergebniserreichung in %</field-description>
<field-description lang="de_DE">% erreicht</field-description>
<field-description lang="en_US">% erreicht</field-description>
</field-definition>
Thank you and best
Lilla
User | Count |
---|---|
4 | |
4 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.