Expand my Community achievements bar.

SOLVED

Embed an aem form inside an html5 UI

Avatar

Level 10

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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... 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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... 

Avatar

Administrator

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