Welcome to the jKit community. This is the place to discuss everything on and around jKit. Be friendly and I’m sure other members will be friendly with you, too.
Using colons as part of error messages in validation… Is it possible?
  • Using the error messages via data-jkit=”” In the error messages for a time field, I am trying to give an example of expected format, but using the colon in there messes up the parsing. I haven’t found a way to escape the colon character in the error string inside the data attribute. Maybe this is possible if I use jquery to specify the option array?

  • Hi, try something like this:

    data-jkit="[validate:type=time;required=true;error=Please add a valid time, for example: 10:59]"
    

    You can escape characters with

    Creator of jKit – www.fredibach.ch