AemasCS | Simple form builder with out AEM Forms is possible? | Community
Skip to main content
Level 2
April 12, 2024
Solved

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

  • April 12, 2024
  • 4 replies
  • 1391 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by partyush

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 🙂

4 replies

Shashi_Mulugu
Community Advisor
Community Advisor
April 13, 2024
Level 2
April 14, 2024

Thanks @shashi_mulugu  for the input

sravs
Community Advisor
Community Advisor
April 13, 2024
Level 2
April 14, 2024

Thanks @sravs   for the input

partyush
Community Advisor
partyushCommunity AdvisorAccepted solution
Community Advisor
April 13, 2024

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 🙂

Level 2
April 14, 2024

Thanks @partyush   for the input

Raja_Reddy
Community Advisor
Community Advisor
April 14, 2024

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.