Copied to clipboard

Flag this post as spam?

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


  • Aniket Kori 1 post 71 karma points
    Jun 10, 2021 @ 20:46
    Aniket Kori
    0

    Client Side Validation not working

    Hi,

    I'm new to Umbraco CMS. I have been trying my best to implement client side validation with Custom Attributes + Remote Validation, but unable to achieve it.

    Custom Attribute is giving me validation message after post-back. It would be really great if someone can help me to solve it.

    For Remote validation, I'm getting an error "no url found in route table"... something like this.

    The solution uses Surface Controller for navigation and version 8.11.1. Let me know what additional details are required from my end. Thanks in advance.

    Kind Regards, Aniket Kori.

  • Marc Goodson 2141 posts 14324 karma points MVP 8x c-trib
    Jun 14, 2021 @ 19:11
    Marc Goodson
    1

    HI Aniket

    There is a good article here, although a little old:

    https://24days.in/umbraco-cms/2012/creating-a-login-form-with-umbraco-mvc-surfacecontroller/

    showing how to create a form that posts back to a surface controller, and use data annotations for validation, and use the jquery unobtrusive validation library for clientside validation.

    This might give you some inspiration for what you need to do in your scenario, or if you can post some code, can possibly advise what might be missing.

    regards

    Marc

Please Sign in or register to post replies

Write your reply to:

Draft