SAP Knowledge Base Article - Public

2707588 - Regular expressions for Numbers Only - Onboarding

Symptom

Panel is accepting letters in the field

Environment

Onboarding

Reproducing the Issue

  1.  Go to Settings -> Panel
  2. Select the affected panel
  3. On the panel field type in any letters
  4. It will accept the value

Cause

No validator

Custom validator is needed

Resolution

  1.  Go to Settings -> Panel
  2. Select the affected panel
  3. Click "add" under validators
  4. Select validator "Regular Custom Validator"
  5. Select template "Custom"
  6. In the expression add ^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]*$
  7. Add custom error message

Keywords

Panels RegEx Regular Expression Numeric Numbers Only Custom Validator , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , How To

Product

SAP SuccessFactors Onboarding ; SAP SuccessFactors Onboarding 1511 ; SAP SuccessFactors Onboarding 1602 ; SAP SuccessFactors Onboarding 1605 ; SAP SuccessFactors Onboarding 1608 ; SAP SuccessFactors Onboarding 1611 ; SAP SuccessFactors Onboarding 1702 ; SAP SuccessFactors Onboarding 1705 ; SAP SuccessFactors Onboarding 1708 ; SAP SuccessFactors Onboarding 1711 ; SAP SuccessFactors Onboarding 1802 ; SAP SuccessFactors Onboarding 1805 ; SAP SuccessFactors Onboarding 1811 ; SUCCESSFACTORS ONBOARDING 1902 ; SuccessFactors Onboarding 1305 ; SuccessFactors Onboarding 1308 ; SuccessFactors Onboarding 1311 ; SuccessFactors Onboarding 1402 ; SuccessFactors Onboarding 1405 ; SuccessFactors Onboarding 1408 ; SuccessFactors Onboarding 1411 ; SuccessFactors Onboarding 1502 ; SuccessFactors Onboarding 1505 ; SuccessFactors Onboarding 1508