Copied to clipboard

Flag this post as spam?

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


  • Mark 255 posts 612 karma points
    Apr 10, 2016 @ 09:12
    Mark
    0

    Macro containing form is losing model state

    We have upgraded from Umbraco 6.x to 7.4

    Several registration forms were implemented within macros, using BeginUmbracoForm. These macros were then inserted via an RTE on a page. These worked fine in 6.x, but under 7.4 the model state is always coming back empty after calling CurrentUmbracoPage within a surface controller.

    My question is, should forms still work within macros in 7.4? Or will they need to be converted to partial view macros rendered directly within a document type?

Please Sign in or register to post replies

Write your reply to:

Draft