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

Learn more

View all

Sign in to view all badges

SOLVED

how to set the 'useiframe' property in aemform

prabudossh
Level 2
Level 2

Hi,

We faced an issue of custom built AEM form not rendering in the mobile after embedding into the page. The form itself was rendering fine but when embedded into the page, the form inside the page didn't render in mobile. Then i noticed this property 'useiframe = true|false' for aemform (see screenshot below) in crxde and set it to 'false'. So the iframe surrounding the <div class="aemformcontainer" .../>  is removed and then it started rendering in mobile

useiframe.png

But I dont know how to set this property without going into crxde. There is no dialog found for this property in aemform container when setting up in the page.

Appreciate any pointers on how to set this up by the author or if there is any alternate way of achieving the mobile rendering through some other means?

1 Accepted Solution
prabudossh
Correct answer by
Level 2
Level 2

cool, will try this option and let you know

View solution in original post

5 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

Kindly confirm what version of AEM are you using?

varadha_rajk378
Level 1
Level 1

You can use the option 'Form covers entire width of the page'. If checked, this will disable the iFrame and render the form on the embedded HTML webpage. Option will found in the AEM Form Container component (once you add the form to a webpage).

prabudossh
Correct answer by
Level 2
Level 2

cool, will try this option and let you know

View solution in original post