Embed an aem form inside an html5 UI | Community
Skip to main content
AEM_Forum
Level 10
September 6, 2016
Solved

Embed an aem form inside an html5 UI

  • September 6, 2016
  • 2 replies
  • 1326 views

Hi all,

We are all aware that we could embed an adaptive form in AEM sites page.

Is it possible to embed a HTML form also in AEM sites page?

Appreciate any links on this topic.

Thanks,

Rama.

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 smacdonald2008

A site form component is only HTML/JS. You can build your form within an AEM component and use any JS lib you want. For example - assume you have a requirement to build a JQuery Mobile form. You can use JQuery Mobile API to do so... 

https://helpx.adobe.com/experience-manager/using/submitting-mobile-form-data-cq.html

Hope this helps... 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
September 6, 2016

A site form component is only HTML/JS. You can build your form within an AEM component and use any JS lib you want. For example - assume you have a requirement to build a JQuery Mobile form. You can use JQuery Mobile API to do so... 

https://helpx.adobe.com/experience-manager/using/submitting-mobile-form-data-cq.html

Hope this helps... 

kautuk_sahni
Community Manager
Community Manager
September 7, 2016

Yes, we can definitely embed and HTML code in AEM, So HTML form can also be included in AEM.

As mentioned by Scott, you can certainly create a Form by own or can induce Jquery plugins to do so. But one thing to make sure, to have a service/Servlet to catch the submitted data.

 

One analogs question's link is :- http://stackoverflow.com/questions/19044506/submit-form-to-servlet-cq5

 

~kautuk

Kautuk Sahni