Hi,
we want to open the lookup (account lookup) when the user clicks on the Account Lookup field instead of the icon.
It is a lookup field on a form within dynamics portal.
Thanks for suggestions/help!
Hi @newmay
You can probably do this with a script if it's a hard requirement.
But with out-of-the-box configuration you can turn the lookup field into a drop-down. Would that solve it for you?
Hi,
yes I am aware of the entity form metadata function, yet there are too many accounts so it is not an option.
I need to write javacript in order to achieve this I think, but I dont know how to achieve it
Someone probably has a better way, but you could just hide the Icon/button with JS/CSS by setting the 'visibility' and then add an event listener on click or focus etc on the input that fires an on click event on the icon/button.
//Note: if you only have one Lookup on the form then you can fire the button using
$('.launchentitylookup').click()
// but if you have more than one Lookup on the form you will have to find the button node by starting with a unique id associted with the field and then locating the button to .click()