2017 © Pedro Peláez
 

library yii2-ajaxform

yii2 activeform ActiveForm ajax

image

light/yii2-ajaxform

yii2 activeform ActiveForm ajax

  • Saturday, August 12, 2017
  • by light
  • Repository
  • 4 Watchers
  • 16 Stars
  • 290 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

, (*1)

Yii2 Ajax Form


Build Status version Download Issues, (*2)

Overview

Using jquery.form to make ActiveForm has ability to submit via ajax but not fullpage reload., (*3)

Install

Using composer:, (*4)

$ composer require light/yii2-ajaxform=*

Usage

use light\widgets\ActiveForm;
use yii\web\JsExpression;

ActiveForm::begin([
    'ajaxSubmitOptions' => [
        'success' => new JsExpression('function(response) {console.log(response)}'),
        'complete' => new JsExpression('function() {console.log("request completed.")}')
    ]
])

Options

  • Default enabled enableAjaxSubmit is true
  • ajaxSubmitOptions you can find in jquery.form

Test

$ phpunit

LICENSE

MIT, (*5)

Bitdeli Badge, (*6)

The Versions

12/08 2017

dev-master

9999999-dev

yii2 activeform ActiveForm ajax

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang

20/10 2016

1.0.2

1.0.2.0

yii2 activeform ActiveForm ajax

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang

22/02 2016

dev-bugfix

dev-bugfix

yii2 activeform ActiveForm ajax

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang

22/02 2016

1.0.1

1.0.1.0

yii2 activeform ActiveForm ajax

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang

28/11 2015

1.0.0

1.0.0.0

yii2 activeform ActiveForm ajax

  Sources   Download

MIT

The Requires

 

The Development Requires

by lichunqiang