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 105 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.

  • Comment author was deleted

    Feb 20, 2014 @ 08:24

    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

Please Sign in or register to post replies

Write your reply to:

Draft