Wiki articles tagged with "Forms"

Showing 1-11 of 11 items.

Simple way to implement Dynamic Tabular Inputs

Created 6 years ago by ezekielnoob, updated 2 years ago by samdark.

grid

4 0
10 followers
Viewed: 39 728 times
Version: 2.0
Category: Tutorials

How to implement form events

Created 6 years ago by Antonio Ramirez, updated 5 years ago by deacs.

You have that, when a product is on development they can change its API anytime. This change is quite important though, its related on how to set the events of your form, for example, the useful beforeSubmit.

5 0
6 followers
Viewed: 31 810 times
Version: 2.0
Category: How-tos
Tags: Forms, How to, yii2

MongoDb's embedded documents mapping for ActiveRecord in Yii2

Created 7 years ago by edoardo849, updated 7 years ago by CeBe.

suppose to have in Mongo a collection "user" like:

4 0
7 followers
Viewed: 23 037 times
Version: 2.0
Category: How-tos

A simple way to get Yii client-side form validation run when submitting by ajax

Created 8 years ago by nlac, updated 6 years ago by nlac.

A time ago i've met the issue that Yii doesn't run any client-side form validation when submitting the form by CHtml::ajaxSubmitButton. The small javascript below helps to fix it.

4 1
11 followers
Viewed: 58 306 times
Version: 1.1
Category: Tutorials

XUpload Workflow

Created 9 years ago by Asgaroth, updated 8 years ago by Asgaroth.

This wiki describes a more complex workflow using the XUpload widget

28 0
42 followers
Viewed: 88 542 times
Version: 1.1
Category: Tutorials

Radio Button List with enum values for column of type ENUM >+> incorporate into giix

Created 9 years ago by pckabeer, updated 9 years ago by pckabeer.

Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue').
We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a Radio Button List, which has the enum values as options.
This is a rewrite of c@cba in the wiki article of [enumDropdownList](http://www...

6 0
3 followers
Viewed: 22 438 times
Version: 1.1
Category: How-tos

MVC primer and 5 minute form walkthrough

Created 9 years ago by rix.rix., updated 9 years ago by rix.rix..

This tutorial assumes some basic knowledge of Yii and a functional development environment.

8 0
6 followers
Viewed: 25 586 times
Version: 1.1
Category: Tutorials

Drop down list with enum values for column of type ENUM >+> incorporate into giix

Created 9 years ago by c@cba, updated 7 years ago by nsanden.

Let's say our table 'mug' has a column named 'color' of the type ENUM('red','green','blue').
We want to replace the textfield for the attribute color in the create and update forms of a 'mug' with a drop down list, which has the enum values as options.
The main code was contributed by zaccaria in the forum (see [this post](...

10 0
11 followers
Viewed: 46 137 times
Version: 1.1
Category: How-tos

File uploads in CForm (Form builder)

Created 9 years ago by Luke Jurgs, updated 9 years ago by Luke Jurgs.

While there is a reasonable amount of documentation regarding CForm (form builder) and file uploads seperately, there really is not any coverage of both in combination.

9 0
10 followers
Viewed: 49 127 times
Version: 1.1
Category: How-tos

An easy way to display a success page using flash messages

Created 10 years ago by qiang, updated 10 years ago by qiang.

We often need to display a success page after the user has submitted a form without problem. We may show some welcome message after a user registers a new account. There are many ways to implement this workflow. In this article, I will explain a method that exploits flash messages.

21 0
29 followers
Viewed: 51 559 times
Version: 1.1
Category: Tips

Understanding "Safe" Validation Rules

Created 10 years ago by Steve Friedl, updated 8 years ago by Gismo.

A common source of confusion among new Yii users is how the 'safe' validator works, how it works with other validators, and why it's necessary in the first place. This article means to clear up this confusion, as well as explain the notion of Massive Assignment.

74 0
46 followers
Viewed: 161 654 times
Version: 1.1
Category: FAQs