Symptom
How to add an expression validator to accept only 9 numbers and not any other characters.
Environment
SAP SuccessFactors Onboarding 1.0
Resolution
- Go to Settings -> Panel
- Select the panel
- Click "add" under validators
- Select validator "Regular Custom Validator"
- Select template "Custom"
- In the expression add ^\d\{9\}$
- Add a custom error message if necessary.
To confirm that your expression is working, you can test in Regex101
Note: In case customer wants to accept less than 9 digits but no more than 9 you can use the expression ^\d{0,9}$, where 0 determine the minimum numbers accepted and 9 determine the maximum numbers accepted.
Keywords
ONB, Onboarding, Validator, Expression, 9 digits, Limit, 9 numbers, Regex101, 9, Validation, Digit, Regular, Panel, Custom , KBA , LOD-SF-OBD , Onboarding , How To
Product
SAP SuccessFactors Onboarding all versions