SAP Knowledge Base Article - Public

2647735 - Regular expression for allowing only 1 to 10 including 01-09 also

Symptom

Customer want to ask candidate to provide Number of children and max limit is 10 and system should except 01 , 02 format also

Environment

SAP SuccessFactors Onboarding

Cause

Regular expression needed to fix this

Resolution

  1. In the panel setup , Add validator
  2. Regular expression validator 
  3. Select custom validator and define below expression :
  4. ^(?:[1-9]|0[1-9]|10)$
  5. Provide the error message also and save the same.

Range validator defined for a field excepts values as 1,2,3 and so on but fails in case of 01,02,03 and so on.

Keywords

regular expression ; number of childs ; 0 to 10 validation , KBA , LOD-SF-OBD-PAN , Panels, Panel Designer , Problem

Product

SAP SuccessFactors Onboarding all versions