CON-1481 - DatePicker scripts appearing in source twice

Created by Gordon Saxby 16 Jan 2018, 09:20:28 Updated by Stefan Verleger 30 Jan 2018, 12:14:10

I have a simple form using a single DatePicker field. I have all of the JS files at the bottom of the page, so have made the alteration to InsertUmbracoForm.cshtml as detailed here https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Rendering-Scripts/

I have put @Umbraco.RenderMacro("FormsRenderScripts") at the very bottom, just before the tag.

When the page containing the form loads I get the following error (in Chrome console):

"Uncaught ReferenceError: $ is not defined"