2017 © Pedro Peláez
 

silverstripe-module zenautocompletefield

A basic autocomplete text field using jquery ui

image

silverstripe/zenautocompletefield

A basic autocomplete text field using jquery ui

  • Monday, May 2, 2016
  • by sheadawson
  • Repository
  • 1 Watchers
  • 2 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

NO LONGER MAINTAINED

A basic autocomplete text field using jquery ui, (*1)

Maintainer

shea@livesource.co.nz, (*2)

Requirements

SilverStripe 3.0, (*3)

Installation

Copy the module into your project root directory, rename the folder to "zenautocompletefield", run dev/build, (*4)

Usage

Using this field is just the same as a TextField, only with the additional requirement of calling the setSuggestions() method, to populate the autocomplete data., (*5)

$field = new ZenAutoCompleteField('FieldName', 'Field Name');

$field->setSuggestions(array(
    'suggestion one',
    'suggestion two',
    'suggestion three',
));

$fields->addFieldToTab('Root.Test', $field);

The Versions

02/05 2016

dev-master

9999999-dev

A basic autocomplete text field using jquery ui

  Sources   Download

The Requires

 

by Shea Dawson

silverstripe forms