Commits

christiansalazar  committed 2445784

readme update

  • Participants
  • Parent commits 4e54a9a

Comments (0)

Files changed (1)

 
 In your view:
 ~~~
-[php]
 	echo $form->hiddenField($model,'yourtimefield');
 	$this->widget('ext.etimepicker.ETimePicker',
 		array('altField'=>'YourModel_yourtimefield'));  // the input ID !
 
 Your sample model:
 ~~~
-[php]
 class YourModel extends CFormModel /*or CActiveRecord !*/ {
   public $yourtimefield;  // a time field: "hh:mm" formatted (24 hours)
   ...