Yii: AJAX validation and Duplicated data

When creating a new record, I noticed the new record is duplicated (usually 3x but sometimes 4x, 5x…) It took me a while to realize this is caused by AJAX validation. …

xajax and radio buttons

to display a group of choices to select-only-one as radio buttons, the name and id parameters must be the same for all <input> tags: to pass the value of radio …

xajax and Checkbox

In one of the forms I work on, I need to set other form fields based on the value of a checkbox. The value this.checked was passed as  parameter to …