Search
 
SCRIPT & CODE EXAMPLE
 

HTML

ms crm aadhar number validation javascript

function validateCity1(executionContext) {
   var formContext = typeof executionContext != 'undefined' ? executionContext.getFormContext() : Xrm.Page; // get formContext
   
   var pattern = /[^a-z]/ig;
   var fieldName = 'address1_city';
   var currentValue = formContext.getAttribute(fieldName).getValue(); 
   if (pattern.test(currentValue)) {
     formContext.getControl(fieldName).setNotification('Invalid value, please enter only letters.');
   } else {
     formContext.getControl(fieldName).clearNotification();
   }

}
Comment

PREVIOUS NEXT
Code Example
Html :: how to make password in html correct or incorrect 
Html :: html tag convert to d3.select() point 
Html :: sematic ui modals 
Html :: remove jsessionid from url spring 
Html :: html cache api checker 
Html :: week days in table format in html 
Html :: difference between body and main html 
Html :: html dd right align 
Html :: html document 4.0 
Html :: bootstrap force majuscule class 
Html :: show the display 
Html :: make element be positioned behind its parent, but in front of its grandparent 
Html :: mp4 start time html 
Html :: what is bootstrap loader 
Html :: design to html 
Html :: how to change db cred in wordpress 
Html :: /> in html 
Html :: Remove preceding text or numbers Google Sheets 
Html :: html.getenumselectlist display name 
Html :: Consider adding a lang attribute to the html start tag to declare the language of this document. 
Html :: default wp_new_user_notification_email 
Html :: site.baseurl page.image_path 
Html :: visa card 
Html :: see locked pakages linux 
Html :: HRECURS - Hello Recursion 
Html :: How to change text every 3 seconds 
Html :: pavlova 
Html :: html semantics 
Html :: how to edit html in wordpress 
Html :: html how to make a link traget a new window 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =