Skip to main content


 

Symptoms

 


Sometimes it may be necessary to change the browser page title name so that it is different from the name of the form.
 

 

Diagnoses

 


Currently there is no straightforward way or option which allows changing the browser page title name so that it is different from the name of the form. There is an existing feature request for K2 smartforms to implement this.
 

 

Resolution

While abovementioned feature is not implemented the following workaround can be used to achieve desired result:

Open the form you want to edit.
Drag a data label control anywhere on the form.
Then copy the following code into the text property of the datalabel:

 

 

 
<script type="text/javascript"> $(document).ready(function() { document.title = 'Browser Page Title'})</script>
 

 

 

Change the value of document.title property as necessary. Please also see related K2 community forum thread.

 

 



 
Be the first to reply!

Reply