Hiding iframe after form fillup

Avatar

Avatar

ihm185

Avatar

ihm185

ihm185

09-05-2019

Hello everyone,

We have forms in Adobe campaign instance which are displayed on our company website inside an iframe. is it possible to hide the iframe (like, changing CSS attribute to display:none;) after successful form fillup?

Please share your thoughts.

Kind regards,

Imran

View Entire Topic

Avatar

Avatar

Jean-Serge_Biro

MVP

Avatar

Jean-Serge_Biro

MVP

Jean-Serge_Biro
MVP

10-05-2019

Hi ihm,

Very similar situation for me from years.

Our web site is another domain as Adobe Campaign webApps, and many restricting CORS and so on.

We can't manipulate easily Javascript/html open windows parameters (_parent etc).

For example, to enforce the parent page (the website), to change the iframe size or scrollbars under events.

I tried with standard End activity and Javascript httpRequest redirection.

The easiest solution was to redirect to a thank you page managed by the web site, instead of a page of the webApp, and pass it some parameters for the web site instructions.

Probably someone in the community could indicate us some workarounds.


Regards
J-Serge