Pages

Sunday, August 12, 2012

How to change the default presence validation message

The default model "presence" validation message is "must be present", which is kinda ugly.

Here's how to change it to something better:


// set this near the beginning of your program:

Ext.data.validations.presenceMessage = "Required";

2 comments:

  1. I was looking for this only... thanks for the share...

    ReplyDelete
  2. Thanks for sharing your important views to us with the help of tutorials.
    Online Tutorial In India

    ReplyDelete