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

NA

Reproducing the Issue

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.

Cause

Regular expression needed to fix this

Resolution

In the panel setup , Add validator
Regular expression validator
select custom validator and define below expression :

^(?:[1-9]|0[1-9]|10)$

Provide the error message also and save the same.

Keywords

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

Product

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 ; SUCCESSFACTORS ONBOARDING 1808 ; 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