Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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