{Dynamics Portal:: Set Lookup Field Read-Only}

Here is the snippet which helps to set the lookup field as “read-only” in the dynamics portal. 

$('#parentaccountid_entityname').attr("readonly","readonly"); $('#parentaccountid').parent().find('.input-group-btn').hide()}

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: