Copied to clipboard

Flag this post as spam?

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


  • Skowronek 29 posts 102 karma points
    Feb 19, 2014 @ 22:04
    Skowronek
    0

    Cross-Field Validation Yet?

    I'm seeing very old forum posts regarding cross-field validation in Contour. Is that still a "feature request", or has something (workaround perhaps) been provided?

    Thanks.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Feb 20, 2014 @ 08:24
    Tim Geyssens
    0

    Using the razor macro (that's default at this point) you can hook into the controller and add additional validation rules (so you can combine multiple fields in the rule...)

    Even easier is when you use code first approach details on that here (look at the validation method)

    http://umbraco.com/follow-us/blog-archive/2012/11/6/contour-30-features-code-first.aspx

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies