How to add custom validation for in asp.net if the user adds more than one username an error message must appear that he can only add one user. Thanks Regard.

  • 1
    I think people editor has setting is itself to allow multiple users. If its set for just one user then by itself it will prompt user with a message. – Asad Refai Feb 5 at 8:57
  • You could achieve this using Client Side Rendering. But if you really just want to limit the input to one user, then like Asad said, there's already a built-in functionality for this. – LeonidasFett Feb 5 at 11:16

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.