By Joe GillPublished On 9th March 2011
alert(“The format of the mobile no is incorrect”) ;
Customize the main form of the Contact entity and click on the Form Properties and add the new resource file we created as a library. It can now be used in the form
Now on the contact form when the mobile number is changed the validateMobile function will be fired and because we are using a web resource file we can reuse it throughout the solution.