Expand my Community achievements bar.

Add a custom field validation in pattern

Avatar

Level 4

 

Hi All,

I am new to adaptive form and have a requirement to add custom field validation.

Adaptive forms components comes with some OOB validation patterns like phone number, zipcode, etc and custom(where i can add my script) but i wanted to add my validation as part of dropdown like they have the oob one. can someone guide me how to add one or which components I need to overlay/extend to achieve this?

1.png2.png

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 5

Maybe looking into /libs/fd/af/components/guidetextbox/formatters

Avatar

Employee

You may have look at document [1], it describes how you can create a custom formatter.

[1] https://experienceleague.adobe.com/docs/experience-manager-65/content/forms/adaptive-forms-advanced-...