Skip to main content

Questions tagged [entityref]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Sean's user avatar
  • 3,168
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' =...
yurg's user avatar
  • 2,186