Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8158815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:44:14+00:00 2026-06-06T17:44:14+00:00

I am using knockout.js in my ASP.NET MVC project. I figured out how to

  • 0

I am using knockout.js in my ASP.NET MVC project. I figured out how to display a form, serialise a JSON object, and display data with the help of following link:
How to use knockout.js with ASP.NET MVC ViewModels?

But I am not able to figure out how to validate the form. What is the best solution to validate the form?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:44:15+00:00Added an answer on June 6, 2026 at 5:44 pm

    I have used he Knockout.Validation plugin ( https://github.com/Knockout-Contrib/Knockout-Validation ) which has worked well. It uses extenders in Knockout so you can extend the model properties to include rules like required, min, max, or pattern matches. You can also create custom rules. I created one for a url, for example. It has some built in rule for things like email, too. All of this is in the github page in the docs. It has everything you need to get started.

    Another option is to use jquery validation, which also works well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are submitting an asp.net mvc view form using the knockoutjs postJson util. All
I have an ASP .NET MVC application, additonally I am using Knockout 2.0.0. I
I have an ASP.NET MVC 3 view using Razor and Knockout.js that is not
Im using Knockout.js and ASP.NET. My HTML is as follows: <div class=InputField> Fixed/Floating <div
i am working on asp.net website and we are using knockout.js. I am not
I'm fetching JSON from my ASP .NET website using the following jQuery: $.ajax({ type:
I'm using Asp.Net MVC 2 and I have a situation where I'm building a
I am currently developing using ASP.NET, and I'd like to get started on Knockout
Working with ASP.NET MVC, KnockoutJS and I am using Require JS. I have a
I'm using ASP.NET MVC2 and jQuery to load and save objects. I'm using knockout.js's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.