You are viewing limited content. For full access, please sign in.

Discussion

Discussion

How to change form tab title through HTML not JavaScript

posted on November 12, 2018

Is there a way to target the title of a form that shows on the tab through the HTML and not by using JavaScript? On our schools website the link to a LF Form still shows as New Submission. I am changing the title through JavaScript when the form link is clicked but that doesn't update the "resting" title. 

0 0
replied on January 29, 2019

I can also add this as a feature request to be able to update the browser tab title from the Forms layout page. 

2 0
replied on January 29, 2019

What JS did you use and which links did you use to access the form? 

I tried using 

$('title').text("Form Title")

which shows the browser tab title as New Submission for a moment before updating to Form Title. Was the momentary New Submission the issue? Or was it reverting back to New Submission and staying that way? 

0 0
replied on January 30, 2019

That is the JavaScript I am using on the form, which works when you open the form, it displays the title I want to see. When our website shows the link though it is not opening the form and therefore the JavaScript isn't running, which gives us the "New Submission" title instead. 

0 0
replied on January 30, 2019

I don't entirely understand your setup here. Is your form embedded in your website using the form link? If your website is just showing a link to the form, the JS on the form definitely won't update the browser tab title for your website. But I don't understand why you'd see New Submission if the form isn't open. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.