Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
Enable autocomplete fields to be defined with in the injector templates, format as:
'Node ID' => array(
'type' => 'textbox',
'regex' => array(
'pattern' => '^[0-9]+$',
'modifier' => '',
),
'field_name' => 'node_id',
'autocomplete' => TRUE,
'autocomplete_replace' => array(
'pattern' => '(.*NID:)[^0-9]',
'modifier' => '',
),
'weight' => 1,
'required' => TRUE,
),
An additional option called 'autocomplete_url' that can be used to define a full path to the autocomplete handler url. The url should return the content in JSON format as expected by the jQuery UI Autocomplete extension.
The default autocomplete handler is a node title and id look up.