Level 4
July 6, 2016
Show custom error message on validate property in dialog
- July 6, 2016
- 2 replies
- 4219 views
Hi Team,
I am trying to show the custom message on dialog field if not valid using validate property.
validate string (type) function(){ var Value = this.getValue(); if(Value.length > 0){ this.markInvalid('Please enter correct value'); return false; } }
Still I am getting the default error message ."Verify the values of the marked field"
PFA
Thanks a lot in advance