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

Discussion

Discussion

"Javascript in the Form Designer" documentation page has inaccurate instructions

posted one day ago

This page: https://doc.laserfiche.com/laserfiche.documentation/12/userguide/en-us/content/process-ex-ref-js.htm?tocpath=Laserfiche%20User%20Guide%7CAutomating%20Laserfiche%20Processes%7CAutomating%20with%20Forms%7C_____7#changeFormSettings

has instructions for modifying the page title via JavaScript, but the example uses the syntax " LFForm.changeFormSettings({title: "New Form Title", description: "New Form Description"});" which doesn't work. 

The syntax that does work is: "LFForm.changeFormSettings({browserTitle: "New Form Title"});"

If I've missed something or this is inaccurate, please let me know. 

 

1 0
replied 22 hours ago

Hi Travis,
"LFForm.changeFormSettings({title: "New Form Title", description: "New Form Description"});" is used to change the form title and description, as shown in the screenshot.

"LFForm.changeFormSettings({browserTitle: "New Form Title"});" is used to change the browser tab title. They are different settings.

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

Sign in to reply to this post.