Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

POPUP- Form

Avatar

Level 5

Dear Friends,

I have created a contact us page with help of form component in AEM .(i.e.content/myproject/contactus.html)

How to show a page as popup window?? Please help...

1 Accepted Solution

Avatar

Correct answer by
Level 10

You would have to overlay the form component and then use this plug-in. 

View solution in original post

4 Replies

Avatar

Level 10

You can also create a pop-up form using a JQuery plug-in wihin AEM:

http://www.formget.com/jquery-popup-form/

For information about integrating JQuery and AEM - see: 

https://helpx.adobe.com/experience-manager/using/integrating-jquery-framework-cq.html

Avatar

Level 5

smacdonald2008 wrote...

You can also create a pop-up form using a JQuery plug-in wihin AEM:

http://www.formget.com/jquery-popup-form/

For information about integrating JQuery and AEM - see: 

https://helpx.adobe.com/experience-manager/using/integrating-jquery-framework-cq.html

 

Yeah..you are correct...i have already created a login page as a popup dialog with help of jquery and its working fine.

But i don't know how to create a popup with inbuilt form component...how to get div id / form id ??

Avatar

Correct answer by
Level 10

You would have to overlay the form component and then use this plug-in. 

Avatar

Level 10

Hi,

Use window.open(href, windowname, 'width=400,height=200,scrollbars=yes');

Here us MDN Link :https://developer.mozilla.org/en-US/docs/Web/API/Window/open