yiimeiomask [DEPRECATED] Simple wrapper to facilite work with MeioMask

  1. This widget is deprecated in Yii 1.1.8
  2. -
  3. -
  4. Requirements
  5. Usage
  6. Resources

This widget is deprecated in Yii 1.1.8

-

-

Simple wrapper to facilite work with MeioMask.

Requirements

Yii 1.0 or above

Usage

First example: Integer mask.

$this->widget('application.extensions.meiomask.MeioMask',array(
  //jquery selector
  'selector'=>'#maskedInput', 

  //Plugin options: http://www.meiocodigo.com/projects/meiomask/#mm_options
  'options'=>array(
    'mask'=>'999.999.999.999', 
    'type'=>'reverse'
  )));
echo CHtml::textField('textField', '', array('id'=>'maskedInput'));

Second example: Decimal mask.

$this->widget('application.extensions.meiomask.MeioMask');
echo CHtml::textField('textField', '', array('id'=>'maskedInput', 'alt'=>'decimal'));

Resources

2 0
2 followers
549 downloads
Yii Version: 1.1
License: MIT
Category: User Interface
Tags:
Developed by: Daniel Augusto Bastos
Created on: Oct 22, 2010
Last updated: 12 years ago

Downloads

show all