Wiki

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

Handling tabular data loading and validation in Yii 2

Updated 6 months ago by Said BakrTutorials6 comments – viewed 29,280 times – ( +44 / -6 ) – 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.

multiple CActiveDataProviders in one CGridView

Updated about a year ago by NashiHow-tos7 comments – viewed 19,413 times – ( +8 / -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 about a year ago by Rohit SutharTips4 comments – viewed 45,097 times – ( +9 / -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 2 years ago by Kostas Apazidis (KonApaz)Tutorials4 comments – viewed 16,530 times – ( +1 / -7 ) – 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 ?

How to read HTML5 Multiple File Input from controller?

Updated 2 years ago by Kartik VHow-tos1 comment – viewed 7,520 times – ( +37 / -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 2 years ago by CeBeHow-tos2 comments – viewed 6,698 times – ( +4 ) – 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.