Answered

Autofocus cannot be turned off in drupal


Badge

In Drupal I can set the share link as external media. I saved the typeform without auto-focus and added '?data-tf-disable-auto-focus=true' to the typeform link in Drupal.
But in the frontend (in an embed-element) it still steals the focus. 
What else can I do? How can the autofocus be turned off.

icon

Best answer by Internet-CaCH 21 March 2023, 07:06

View original

9 replies

Userlevel 7
Badge +5

Hi @Internet-CaCH Can you share the link where the form is embedded so we can take a look? Thanks!

Badge

https://www.caritas.ch/de/pflegeeltern-werden/ and https://www.caritas.ch/de/ueberleben-an-der-armutsgrenze/ (2nd link also available in FR).

Badge

I tried with ?typeform-embed=embed-widget and ?data-tf-disable-auto-focus=true

Badge

Hi @Liz Does this help? Thanks in advance for your support.

Userlevel 7
Badge +5

Thanks, @Internet-CaCH ! It looks like you have typeform embedded as an iFrame. Could you embed the form using one of the methods provided here to see if this solves the issue? 

Badge

In the meantime we solved this issue. Thanks for your support.

Userlevel 7
Badge +5

Glad to hear it, @Internet-CaCH ! What solved the issue? 

Badge

We added ?typeform-embed=embed-widget to the link.

Userlevel 7
Badge +5

Thanks so much, @Internet-CaCH ! Glad to know that worked. I’ll share with anyone else that has a similar question. 

Reply