Wiki

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

Client-side form validation using Twitter Bootstrap's Popovers

Updated 21 days ago by TrejderHow-tos0 comments – viewed 5,526 times – ( +3 )
This article explains how to easily turn standard text-line validation errors into beautifully and professionally looking Twitter Bootstrap's Popovers.

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

Updated 2 months ago by nlacTutorials0 comments – viewed 3,498 times – ( +4 )
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.

Reference: Model rules validation

Updated 2 months ago by François GannazHow-tos4 comments – viewed 250,092 times – ( +84 )
This is a reference to be used for Model rule validation and is compiled from the Yii documentation and code. The purpose is to have all the information gathered in one place instead of scattered. This reference is not an intro. See The Definitive Guide to Yii, Declaring Validation Rules for a tutorial.

Understanding "Safe" Validation Rules

Updated 5 months ago by GismoFAQs7 comments – viewed 39,314 times – ( +72 )
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.

Working with radiobutton list

Updated 10 months ago by vibhaJadwaniTutorials0 comments – viewed 12,619 times – ( +8 )
This is a tutorial to work with radioButtonList which will handle enum datatype. Form design and validation both are detailed here.

Enforcing "You must agree" requirements in forms

Updated 2 years ago by Steve FriedlHow-tos2 comments – viewed 9,112 times – ( +26 )
Checkboxes have two possible values, true and false, but some applications require that the user select one particular value before proceeding. Examples might be:
tags: validation