Skip to main content
Answer

How to know if an embedded form is finished

  • January 8, 2024
  • 2 replies
  • 94 views

Hi there!

 

I have embedded Typeform in a bubble app.

I would like to intercept when I arrive on the last screen to automatically close the embed view.

 

Is that possible?

 

Thanks

Best answer by jeremielp

You can have a look at the onSubmit callback function:

https://www.typeform.com/developers/embed/callbacks/

 

Here is there is a script that uses it:

 

2 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • January 8, 2024

Hi @Boris-Pathtech If I understand correctly, do you want the form to close automatically once it’s complete? If you have a custom-embedded form, you will most likely need to write a script that can detect this. 

@mathio may also be some help with this!


Forum|alt.badge.img+5
  • Community Wizard
  • Answer
  • January 8, 2024

You can have a look at the onSubmit callback function:

https://www.typeform.com/developers/embed/callbacks/

 

Here is there is a script that uses it: