It looks like the "InsertUmbracoFormWithTheme.cshtml" alias is "renderUmbracoForm" and it is specifically set for Umbraco Forms in the "App_Plugins\UmbracoForms\js\umbraco.forms.js".
I think this is where it is being set for the grid.
Does anyone know if there's a way to override this?
Override "InsertUmbracoFormWithTheme.cshtml"
I want to know the best way of overriding the "InsertUmbracoFormWithTheme.cshtml" file.
I have an Umbraco Form which needs extra macro properties on them when picking the form.
So I need to add logic to handle those properties, but I don't want to do all this straight in the "InsertUmbracoFormWithTheme.cshtml" file.
Any ideas?
Hi Imran,
You need to create your own version of it — otherwise, you'll lose the contents when UmbracoForms gets upgraded.
When you've created your own copy you can set allow that for use in the RichText editors, and switch the built-in one off.
Hope that helps,
/Chriztian
Thanks Chriztian, do you know what changes I would have to make to get this working in the grid instead of the RTE?
It looks like the "InsertUmbracoFormWithTheme.cshtml" alias is "renderUmbracoForm" and it is specifically set for Umbraco Forms in the "App_Plugins\UmbracoForms\js\umbraco.forms.js".
I think this is where it is being set for the grid.
Does anyone know if there's a way to override this?
is working on a reply...