Wiki

Articles tagged with "multiple", sorted by date (updated)X
Displaying 1-6 of 6 result(s).

multiple CActiveDataProviders in one CGridView

Updated 3 months ago by NashiHow-tos6 comments – viewed 12,815 times – ( +7 / -1 ) – version 1.1
There is a few cases that you want more of one CActiveDataProvider displayed in one CGrideView How to do that?

using multiple radio button

Updated 5 months ago by Rohit SutharTips4 comments – viewed 31,719 times – ( +7 / -1 ) – version 1.1
When we use multiple radio buttons with same name in Yii many people have the problem on getting the value of the selected radiobutton. The radioButtonList can be used for that, but if we need to use radioButton itself to place the button any where in a view, we need to include one more parameter in htmloption array().

Save or Update Multiple related model values in one Tabular input form

Updated 7 months ago by KonApazTutorials4 comments – viewed 5,774 times – ( +1 / -6 ) – version 1.1
In this wiki I will show you how to save/update a model with many related model For example: How to set a product to multiple categories only in one post form ?

Handling tabular data loading and validation in Yii 2

Updated 7 months ago by Kartik VTutorials0 comments – viewed 5,168 times – ( +31 / -4 ) – version 2.0
How do you read and handle tabular data submission via form in Yii framework 2.0? Sometimes we want to collect user input in a batch mode. That is, the user can enter the information for multiple model instances and submit them all at once. We call this tabular input because the input fields are often presented in an HTML table.

How to read HTML5 Multiple File Input from controller?

Updated 7 months ago by Kartik VHow-tos1 comment – viewed 2,499 times – ( +28 / -4 ) – version all
Ok, so you have a HTML 5 file input markup on your view and you have enabled multiple attribute to true. You may also be using widgets based on HTML5 input like \kartik\widgets\FileInput. But when you read a file in Yii controller using CUploadedFile (Yii1) or UploadedFile (Yii2), you do not see a list of multiple files that you selected in your view, but only one row. Your HTML markup in your view would be something like this and you don't know why this is not working?

Simple Multiple Environment Setup with Default Yii Installation

Updated 8 months ago by CeBeHow-tos2 comments – viewed 4,199 times – ( +3 ) – version 1.1
After installing Yii basic application on our systems, most of the time we want to have multiple environment such as local, dev and live setup. Most of the times when we want to make changes to configuration file, we have to over-write configurations file for each environment.