AEM Forms Cloud Service client libs | Community
Skip to main content
Level 5
Jun 7, 2023 10:25 AM UTC
Solved

AEM Forms Cloud Service client libs

In AEM forms cloud service, there is no option for "code editor". How we can add the custom function for any fields like ajax or custom validations for the field. Or any way to enable the "code editor".

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
aravindSAccepted solution
Level 5
Jun 14, 2023 12:12 PM UTC

In AEM CS, there is no "code editor", so we need to call our clientlibs function in visual editor only.

Found the way, We need to create a clientlibs, Author the category name in form container clientlibs section. After this you can able to see your functions in editor, 

 

3 replies

aravindSAuthorAccepted solution
Level 5
Jun 14, 2023 12:12 PM UTC

In AEM CS, there is no "code editor", so we need to call our clientlibs function in visual editor only.

Found the way, We need to create a clientlibs, Author the category name in form container clientlibs section. After this you can able to see your functions in editor, 

 

Translate
Pulkit_Jain_
Employee
Jun 7, 2023 10:47 AM UTC

@aravinds Don't think Code editor can be enabled on cloud service.

Best way forward is to add the javascript to the client libraries.

Translate
aravindSAuthor
Level 5
Jun 7, 2023 11:54 AM UTC

Hi @pulkit_jain_  , Yes in cloud service there is no code editor in Adaptive form, 

How i can call the respective method (clientlib methods) in adpative form field, how i can enable the guidebridge in AEM CS adaptive form

Translate