Questions tagged [entityref]
The entityref tag has no usage guidance.
2 questions
2
votes
1
answer
2k
views
How can I trigger a selection for a Select2 EntityRef element via javascript?
The CiviCRM EntityRef form element uses a Select2 select box to make lots of CiviCRM forms more awesome. A user can, for example, search for contacts to choose one. Great.
I am building an extension ...
1
vote
1
answer
159
views
entityRef widget seems to not respecting params
Whatever has been tried, this code doesn't restrict entityRef widget output according to desired parameters:
$selection = array(132, 168, 169);
$sa_custom_props = array(
'api' => array('params' =...