jgrowlformerrors Form errors widget with jgrowl jquery plugin

  1. Documentation
  2. Change Log

This extension provide widget which displays form errors with jgrowl jquery plugin

see Demo and submit empty form.

Resources ¶

Documentation ¶

Requirements ¶
  • Yii 1.1.0
Installation ¶
  • Extract the release file under protected/extensions
  • Add the following to your config file 'import' section:

'application.extensions.RJGFormErrors.RJGFormErrors',

should be :

'import'=>array(
 	//...
       'application.extensions.RJGFormErrors.RJGFormErrors',
  ),
Usage ¶

Add

<?php $this->widget('RJGFormErrors', array('form' => $formOrActiveRecordInstance, 'caption' => 'caption for errors'));?>

into view file

Parameters:

  • form - required, form or model
  • flash = optional, flash message id
  • css => optional, custom css file
  • caption => optional, title for each jgrowl window

Full example

<?php  $this->widget('RJGFormErrors', array('form' => $formOrActiveRecordInstance, 'flash' => 'contact', 'caption' => 'caption','css' => Yii::app()->basePath.'/../css/jquery.jgrowl.css')); ?>

Change Log ¶

February 3, 2010 ¶
  • Update license
0 0
1 follower
462 downloads
Yii Version: 1.1
License: (not set)
Category: User Interface
Tags:
Developed by: claymore claymore
Created on: Feb 3, 2010
Last updated: 15 years ago

Downloads

show all