Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Who Me Too'd this topic


Level 1

Hi there,

I am looking for a way to add a custom data attribute that is rendered in the DOM.


I have created a custom data type for Email Addresses by overlaying /libs/settings/dam/cfm/models/formbuilderconfig.


I have wrote some custom JavaScript that performs validation to ensure they're entered correctly.


However, I want to add a custom data-attribute inside the HTML for every instance of my custom data type, so that my validator can use that data-attribute as a selector.


Any ideas?


Many Thanks

Who Me Too'd this topic