Skip to main content


 

Symptoms


When I first created a form I gave it a name frmHome, thinking that I would be able to change what is displayed in the browser tab by some title name, but I can't. How do I change the title to something more user friendly. I don't like having "frmHome" show up on the tab. But I don't want to change the URL. Is this possible through the app or even the database?
 

Diagnoses


The URL itself cannot be changed, and it uses the Name attribute in the DB which cannot be changed without breaking the form.
 

Resolution

Create a data label on the form and check the Literal property. You can hide it by checking the hidden property.
Place the below text in the text field for the data label
<script> document.title = "Home" </script>
Save the form. Now when you navigate to the form, it should display Home instead of frmhome for the browser window name.




 

This works in K2 Five as well.


Reply