2017 © Pedro Peláez
 

yii2-extension yii2-widget-jquery-postcodes

Attaches a jquery.postcodes instance to a form

image

wubbleyou/yii2-widget-jquery-postcodes

Attaches a jquery.postcodes instance to a form

  • Wednesday, March 30, 2016
  • by wubbleyou
  • Repository
  • 1 Watchers
  • 0 Stars
  • 153 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

yii2-widget-jquery-postcodes

Based on jquery.postcodes (imported by bower) allowing us to convert postcodes to address' via https://ideal-postcodes.co.uk, (*1)

Installation

Either run, (*2)

php composer.phar require --prefer-dist wubbleyou/yii2-widget-jquery-postcodes "*"

or add, (*3)

"wubbleyou/yii2-widget-jquery-postcodes": "*"

to the require section of your composer.json file., (*4)

Usage

After installing the extension the following is required., (*5)

Add the widget to the page, please see the jQuery Demo for more options., (*6)

An API Key is required from https://ideal-postcodes.co.uk, (*7)


JQueryPostcodesWidget::widget([ 'pluginOptions' => [ 'api_key' => 'key', 'output_fields' => [ 'line_1' => '#address_line_1', 'line_2' => '#address_line_2', 'post_town' => '#address_line_town', 'county' => '#address_line_county', 'postcode' => '#address_line_postcode' ], 'input_class' => 'form-control', 'button_class' => 'btn btn-default' ]])

The Versions

30/03 2016

dev-master

9999999-dev

Attaches a jquery.postcodes instance to a form

  Sources   Download

BSD-2-Clause

The Requires

 

by Wubbleyou Ltd

extension yii2 jquery postcodes

30/03 2016

1.0.0

1.0.0.0

Attaches a jquery.postcodes instance to a form

  Sources   Download

BSD-2-Clause

The Requires

 

by Wubbleyou Ltd

extension yii2 jquery postcodes