How To : Get All Required Fields Using Java Script In CRM

Introduction :  Suppose you would like to get all the required fields on a form using java script.


var message = "The following fields are required:\n"; (attribute, index) {
if (attribute.getRequiredLevel() == "required")
message += "  \u2219 " + attribute.getName() + "\n";

Leave a Reply

Your email address will not be published. Required fields are marked *