I'm trying to work out where to add custom javascript to a theme. I've altered the FileUpload view so I can style the upload a little nicer and have some javascript that goes along with the changes.
Where is the correct place to link the javascript. Do I copy the Scripts.cshtml into my themes folder and link it in there or do I link it from the FileUpload view?
Adding custom javascript
I'm trying to work out where to add custom javascript to a theme. I've altered the FileUpload view so I can style the upload a little nicer and have some javascript that goes along with the changes.
Where is the correct place to link the javascript. Do I copy the Scripts.cshtml into my themes folder and link it in there or do I link it from the FileUpload view?
Hi suzyb,
Have you seen our documentation about creating themes in Umbraco Forms 6.x.x
You can find the documentation here https://our.umbraco.org/documentation/Add-ons/UmbracoForms/Developer/Themes/
Hope this helps,
/Dennis
I found the themes documentation and managed to get the custom script working, thanks.
is working on a reply...