We keep getting these errors in Forms in the browser console:
Any idea why? We have the latest Forms update installed.
We keep getting these errors in Forms in the browser console:
Any idea why? We have the latest Forms update installed.
On which page did you get this error? I didn't see this error on New Submission. WebShim is used for field validation. In update 3, we fixed a issue for not run the validation on lookup target fields when page load which seems related to the issue you ran into.
Did you get this for every form or only for some specific form?
All forms that have required fields populated by lookups.
In any case, we had to roll back to Update 2 to fix another issue related to lookups, so this is no longer a concern for us. If it happens again I'll open a support ticket.
The other you referred is the duplicate calls for lookup rule when one field used in multiple lookup rules? This is related to multiple lookup rules use same match condition for same single field. The workaround is to merge those lookup rules into one. And we are working on the fix as well.
For the " loadWebShim is not defined" error, can you please check whether the _FormLayout.cshtml (C:\Program Files\Laserfiche\Laserfiche Forms\Forms\Views\Form) is updated after install update 3?
No, _FormLayout.cshtml was not updated. The modified date was still showing August, which was when we made some modifications to it ourselves (adding script and link tags to the document header for the various custom scripts we use). Maybe that's why the Update 3 install script didn't update it.
I went into lookup.js inside Forms/js/form and commented out this piece:
if(loadWebShims){$('#form1').attr('novalidate',false);loadWebShims();}
That made the errors go away. We don't have any users in older versions of IE so I'm hoping it'll be OK, but it would be nice to hear from the Forms team what webshims are used for in Forms (I know it's more than just polyfill) and what is causing those errors.
(Forms 10.1 Update 3. It wasn't happening in Update 2.)