Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For example, to make each record display as a block with 2 lines that display one field each, the "results template" property could be set to the following:  {

Code Block

...

language

...

xml

<div class="autocomplete-item">

...


  <div class="autocomplete-col"><strong>Label one:</strong> (MYFIELD)</div>

...


  <div class="autocomplete-col"><strong>Label two:</strong> (MYFIELD2)</div>

...


</div>

...

code

The CSS classes assigned can then be used to control styling such as borders, etc.