SAP Knowledge Base Article - Public

3189625 - Custom Validator to calcuate percentage - Onboarding 1.0

Symptom

  • On a custom panel, we are trying to validate a percentage of fileds to be equal to 100%. It should not be greater than 100%
  • Percentage calcuation validation is not working.
  • How to add custom percentage validation on a panel.

Environment

SAP SuccessFactors Onboarding 1.0

Cause

Keyname is case sensative and must match.

Resolution

Key name is case sensitive.

if (parseInt(context.keyname1.value) + parseInt(context.keyname2.value) + parseInt(context.keyname3.value) <= 100)

return true; 

else 

return false; 

Keywords

  SF, success factors, ONB, OBD, on boarding 1.0 , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem

Product

SAP SuccessFactors Onboarding all versions