Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

222
Vistas
Reloading a parent section using the "data-tf-on-close" callback of Typeform

I'm building something in a lo-code / spaghetti solution environment, combining Airtable as a database, Typeform, and a front-end platform called Softr. (Not my idea, but it is my headache.)

I have a section on a page called #button-list which searches a cell an Airtable table. If the cell is empty, it returns a button to a Typeform. If the cell is filled, it returns the results from the Typeform form.

When the button is clicked, it opens up a modal with a Typeform on the side of the page.

The relevant section of the button code is:

<button data-tf-slider="yyyyy" data-tf-on-close="function(){document.getElementById("button-list").reload();}" data-tf-auto-close data-tf-iframe-props="title=Typeform" data-tf-hidden="uid=xxxxx," ">Start</button><script src="//embed.typeform.com/next/embed.js"></script>

(yyyyy and xxxxx are substituted for the relevant user's information.)

On close of the the Typeform, I'd like the section to refresh, so you see the results instead of the button. So I'm trying to use the data-tf-on-close callback in order to refresh the section.

I'm not sure if I'm going down the right path or not. Should it be parent.document.getElementById("button-list").reload(); because the modal is closing, so it's technically not the document? Should I be setting up some sort of emitter, so I can set up an event listener on the page to reload the section? Do I simply have the syntax wrong? Am I missing something simple? Is this not possible?

Thank you.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda