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.
Discussion
Discussion
How to change form tab title through HTML not JavaScript
I can also add this as a feature request to be able to update the browser tab title from the Forms layout page.
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?
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.
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.