We found that even in the newest Forms 11 update 2, there is still no JavaScript support for self-hosted modern forms even though there is in LF Cloud. Is there an ETA for when this is coming to self-hosted?
Question
Question
Answer
There is plan to add JavaScript for new form in the next update of self-hosted Forms, we currently target to release the update before the end of this year.
Have you tried the JavaScript with new form in Coud, does it satisfy your business needs?
Is there any additional documentation on JavaScript in Cloud Modern Forms or is this it?
The LFForm Object (laserfiche.com)
Also - how do we find the Field ID's needed when using this? I was not able to find a Field ID displayed anywhere on the Forms for each Field but likely looking in the wrong places.
The documentation link is correct. You can get the field ID from the form canvas if you click the JavaScript button in the toolbar, the number in the id.
It is not easy to understand that is the Field ID, we will improve it in future updates.
Is there anything I would have done that would be hiding this? I do see it if I go into another Business Process but for some reason this specific form is not displaying it for me. I removed any CSS I had as a test but I still do not get the ID numbers.
Please check whether you have unchecked the "Display CSS selectors" option in CSS section under Theme.
Replies
The new form designer in self-hosted Forms has added support of JavaScript.
You can read more from https://doc.laserfiche.com/laserfiche.documentation/11/administration/en-us/Default.htm#../Subsystems/Forms/Content/Javascript-and-CSS/JavaScript-in-the-Forms-Designer.htm
You can see other changes of Forms 11 Update 3 from https://support.laserfiche.com/kb/1014413/list-of-changes-for-laserfiche-forms-11-update-3 and get Forms 11 Update 3 from Laserfiche 11 package https://support.laserfiche.com/kb/1014263/software-versions-and-fixes-included-in-the-laserfiche-11-download-package.