Copied to clipboard

Flag this post as spam?

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


  • Preethi 32 posts 99 karma points
    Apr 03, 2013 @ 16:03
    Preethi
    0

    override Validate() on Code First

    I am using the Registration form example from the codefirstexample.

    The override validate event does not fire. What am I missing? ShowValidationSummary is set to true

    Using Contour 3.0.9 and Umbraco 4.11.3.

     

     

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jul 05, 2013 @ 16:31
    Martin Griffiths
    0

    From memory Validate() only works if you're using the razor macro.

  • Comment author was deleted

    Jul 09, 2013 @ 13:03

    Yup that's correct Martin, the submit and validate method will only fire for the razor macro :)

    We'll make the usercontrol one obsolete soon since the razor one is the prefered option

Please Sign in or register to post replies

Write your reply to:

Draft