My popup form don't | Community
Skip to main content
Question

My popup form don't


Forum|alt.badge.img
  • Explorer
  • 6 replies

Hello everyone;

I'm trying to add a TypeForm in a custom portal in Servicenow. I've added my TypeForm in my html like this: 

<div data-tf-live="IDOFMYTYPEFORM" data-tf-hidden="email=toto"></div>

 

and I've just clicked the button to open the pop-up, which displays : 

The pop-up doesn't open automatically even though I set the launch options (on page load or after a certain time).

 

Do you have any idea?

 

Thank you

11 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • December 9, 2024

Hi ​@Baks Would you mind sending the URL where you have the form embedded so we can take a look? Thanks!


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 9, 2024

Hello ​@Liz , unfortunately it's a private portal for intranet use, not accessible from the outside. 😕


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • December 9, 2024

Hi ​@Baks Ah shoot. I’m afraid without being able to see the code, it makes it a bit difficult to understand the other elements on the webpage that might be interacting with our code and causing the issue. Are you able to create a public test page at all? 


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 11, 2024

Hello ​@Liz I don’t think I can. I will try to create the same integration in another public page to see if the problem is the same or if it’s ServiceNow side.


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 11, 2024

Hello again haha, I’ve create a public page (https://test-type-form.vercel.app/) and it’s seen work great. so maybe some ServiceNow portal parameter are blocking the pop-up, I will test on my side.

 

Thanks a lot, 

have a good day 😀


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • December 12, 2024

Hi ​@Baks Oh gosh, well let us know if that ends up being the case!


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 17, 2024

Hello, I'm back!

Looks like the pop-up launch is partially blocked by ServiceNow, don't know why at the moment 🤔.

 

if this has ever happened to anyone or if anyone has any ideas, I'd love to hear from you. 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • December 20, 2024

Welcome back, ​@Baks ! I’m sadly not too familiar with ServiceNow, however, are you able to send any screenshots of how you embed it onto the site? That might give me some ideas or general thoughts on how to fix it!


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 20, 2024

Hello, I’ve add this code in my html :

 <div data-tf-live="01HWAMWV6BFN713XDX5DQCC71T" data-tf-hidden="email=toto"></div>

and the CDN link in the head of the portal page.

 

This works randomly 1 time out of 4, dont know why.


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15028 replies
  • December 23, 2024

Hi ​@Baks Thank you! If you remove the CDN link, does that at all make the embed work? My guess might be that this is possibly causing the interference. 


Forum|alt.badge.img
  • Author
  • Explorer
  • 6 replies
  • December 24, 2024

Hey ​@Liz , I’ve try to remove the CDN link but nothing work without 😥


Reply