Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • merin 3 posts 73 karma points
    Feb 06, 2020 @ 08:12
    merin
    0

    Hi,how can I add theme to umbraco forms.I tried using this: @Umbraco.RenderMacro("renderUmbracoForm", new { FormGuid = "4bc66a74-2640-4a03-80e4-70883cd10ba3", FormTheme = "ReviewTheme", ExcludeScripts = "1" })

    but its not even displaying my form.This only shows : Macro: (,)

    I'm too confused with this.Please can anyone help me out if this? Any help is appreciated.

  • Ryan Helmn 26 posts 188 karma points
    Feb 10, 2020 @ 14:26
    Ryan Helmn
    0

    Does your theme exist in the following location: ~/Views/Partials/Forms/Themes/ReviewTheme/

    If so, what partial views do you have inside? Whatever you put in there will overwrite the default theme, anything left out will result to falling back to the default theme.

  • merin 3 posts 73 karma points
    Feb 11, 2020 @ 07:24
    merin
    0

    yes, my theme exist inside ~/views/partials/forms/themes/ReviewTheme/.I have form.cshtml and script.cshtml inside the folder

Please Sign in or register to post replies

Write your reply to:

Draft