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

...

: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 Block

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