Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

AemasCS | Simple form builder with out AEM Forms is possible?

Avatar

Level 2

In my current project which is  in AEMasCS , we have a requirement to create simple form with few fields.
Can I achieve this with out AEM Forms as a Cloud Service.  Just by using custom ( or core components) text fields and textarea?

What will be the possible challenges ?

Thanks in Advance ,
TJ

Topics

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @testUserMe 

Yes, you can definitely achieve a simple form with a few fields in AEM as a Cloud Service (AEMaaS) without AEM Forms. You can build this form using custom components or core components like text fields and textareas. Here's a breakdown of what you can do

 

  • Using Core Components:

    • AEM provides core components out-of-the-box that you can leverage to build your form. These include:

      • Text field: This component allows users to enter single-line text input.
      • Textarea: This component allows users to enter multi-line text input.
    • By combining these core components with basic layouts and data mapping, you can create a simple form for users to interact with.

    Possible Challenges:

    • Limited Functionality: Core components offer basic functionality. You'll need custom development to implement features like form validation, data pre-population, or complex workflows.
    • Scalability and Maintainability: For simple forms, core components might suffice. But as your forms grow in complexity, managing them with just core components can become cumbersome. Custom components can promote better maintainability and reusability in the long run.
    • Security: You'll need to ensure proper security measures are implemented when handling user data in your custom components, such as data validation and sanitization to prevent security vulnerabilities.

    Here are some additional points to consider:

    • AEM Forms vs. Core Components/Custom Components: AEM Forms offers a robust solution for complex forms with features like workflows, data integrations, and advanced layout capabilities. But for simple forms, core components or custom components can be a more efficient solution.
    • Development Effort: Using core components requires minimal development effort. However, custom components require more development time upfront but provide more flexibility in the long run.

    Overall, for a simple form with a few fields, you can achieve your requirement using core components or custom components in AEMaaS without AEM Forms. However, if your forms become more complex in the future, you might want to consider AEM Forms for its advanced features.

 

Thanks

View solution in original post

7 Replies

Avatar

Correct answer by
Community Advisor

Hi @testUserMe 

Yes, you can definitely achieve a simple form with a few fields in AEM as a Cloud Service (AEMaaS) without AEM Forms. You can build this form using custom components or core components like text fields and textareas. Here's a breakdown of what you can do

 

  • Using Core Components:

    • AEM provides core components out-of-the-box that you can leverage to build your form. These include:

      • Text field: This component allows users to enter single-line text input.
      • Textarea: This component allows users to enter multi-line text input.
    • By combining these core components with basic layouts and data mapping, you can create a simple form for users to interact with.

    Possible Challenges:

    • Limited Functionality: Core components offer basic functionality. You'll need custom development to implement features like form validation, data pre-population, or complex workflows.
    • Scalability and Maintainability: For simple forms, core components might suffice. But as your forms grow in complexity, managing them with just core components can become cumbersome. Custom components can promote better maintainability and reusability in the long run.
    • Security: You'll need to ensure proper security measures are implemented when handling user data in your custom components, such as data validation and sanitization to prevent security vulnerabilities.

    Here are some additional points to consider:

    • AEM Forms vs. Core Components/Custom Components: AEM Forms offers a robust solution for complex forms with features like workflows, data integrations, and advanced layout capabilities. But for simple forms, core components or custom components can be a more efficient solution.
    • Development Effort: Using core components requires minimal development effort. However, custom components require more development time upfront but provide more flexibility in the long run.

    Overall, for a simple form with a few fields, you can achieve your requirement using core components or custom components in AEMaaS without AEM Forms. However, if your forms become more complex in the future, you might want to consider AEM Forms for its advanced features.

 

Thanks

Avatar

Community Advisor

Hi @testUserMe 
Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.