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 9279877
In Process

The Archive Base Latest Questions

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

I was just wondering whether anyone has had any luck in converting the knockout-validation

  • 0

I was just wondering whether anyone has had any luck in converting the knockout-validation plugin (https://github.com/ericmbarnard/Knockout-Validation) into coffeescript.

I have tried myself by using tools like http://js2coffee.org/ and so far I have been unable to get a version working in coffee.

I ask as the the project it is being used in is all written in coffeescript, and so when it comes to writing custom validation rules, the team are wanting to write them in coffee rather than javascript. So far the custom rules have just been added to the knockout-validation javascript file

  • 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-18T17:44:14+00:00Added an answer on June 18, 2026 at 5:44 pm

    You can import the library as JS and write your own rules in CS, e.g.:

    ko.validation.rules['validUKPostcode'] = 
      validator: (string) ->
        /[A-Z]{1,2}[0-9R][0-9A-Z]? [0-9][ABD-HJLNP-UW-Z]{2}/i.test(string)
      message: 'Please enter a valid UK postcode'
    
    ko.validation.registerExtenders()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering whether anyone had any good resources (papers/articles/book references) on compile/linking optimizations.
I am just wondering whether anyone has some R code that uses the package
I'm just wondering, does anyone know, whether uniqid function in PHP has a certain
Im just wondering whether anyone knows if there is any limitations of the ipod
Just wondering whether anyone knows how to get blogger labels into alt tags in
Just wondering is there any way I can check whether the url links to
I am just wondering whether anyone knows where I can get a compiled version
Just wondering whether anyone will still use Hibernate once they move to C# 3
I was just wondering whether anyone knows why the property FileInfo.Length is of type
Just wondering if anyone knows whether its possible to gzip results before putting the

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.