When rending a form, Contour's code includes a reference to jQuery. Basically, you need to include the required jQuery files in the head of the document in order for Contour forms to work.
Initially, I had the scripts at the end of the document. Relocating them to the head resolved my console errors. In the head, I have:
I'd rather include them in the footer to improve the speed of the page load, but I don't think that's an option with Contour because of way the scripts are referenced.
Contour datepicker is undefined
Hi,
May I know the plugin used for the datepicker because I am encountering this error:
undefined is not a function in line 36 of the file contourform.js
Umbraco used is v7.1.1
Hoping for you reply on this issue.
Regards,
Allan
Fixed my own issue. To those who experienced this, it's a jquery-ui plugin.
When rending a form, Contour's code includes a reference to jQuery. Basically, you need to include the required jQuery files in the head of the document in order for Contour forms to work.
Initially, I had the scripts at the end of the document. Relocating them to the head resolved my console errors. In the head, I have:
I'd rather include them in the footer to improve the speed of the page load, but I don't think that's an option with Contour because of way the scripts are referenced.
is working on a reply...