Highlighted
Established Member..
Established Member..
414 views

Adding Dynamic Field Validation in Service Catalog

Hello expers, 
I want to know, how could i add validation on user selection fields in Service Catalog? 
i mean that for example, when we add a "text" as user selection and select type as "Number", we have only :
1-Greater than / Greater than or equal
2-Less than / Less than or equal 
what i need to know how to add more validation on that number for example: 
1-The Number should be 10 digits 
2-the number should start with specific digits.
Appreciate your cooperations, Thanks in advance. 

0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

This is a limitation of dynamic forms, you cannot put validations.

Cheers,
Hardit Singh
0 Likes
Highlighted
Established Member..
Established Member..

This is not supported by OOB. while you can talioring this funciton.  Please check the 2 js file:  dynamicFormGenerator and dynamicFormValidation.  

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.