3|s Exploration & Knowledge
Beginning of everything, everywhere and anytime.
Tuesday, January 13, 2015
CRM 2013 Javascript Validate Symbol
Script
:
function validateSymbol(Field) {
var TCode = Xrm.Page.getAttribute(Field).getValue();
if (/[^a-zA-Z0-9\-\/]/.test(TCode)) {
alert("Input is not alphanumeric");
Xrm.Page.getAttribute(Field).setValue(null);
}
}
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment