[Code Snippet] Dynamics Portals/ADX – Set ‘Field Requirement’ using script
Below is the code snippet to set the requirement level (i.e., Required/Non-Required) of a field using script in portals. This logic handles all kind of field types including Check boxes. Set Field As Required: function SetFieldAsRequired(fieldName) { if (typeof (Page_Validators) == ‘undefined’) return; if ($(“#” + fieldName) != undefined && $(“#” + fieldName + “_label”) … Continue reading [Code Snippet] Dynamics Portals/ADX – Set ‘Field Requirement’ using script
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed