Wiki

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

How to send POST data from CActiveForm with a CListView inside

Updated about a month ago by moginnHow-tos0 comments – viewed 1,998 times – ( +1 ) – version 1.1
If you want to see a live demonstration of what I mean by "how to send POST data from CActiveForm with a CListView inside" you can take a quiz from here and you will understand.

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

Updated 6 months ago by nlacTutorials5 comments – viewed 33,801 times – ( +7 / -2 ) – version 1.1
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.

Yii Change Password with use of old and repeat password using bootstrap TbActiveForm

Updated 8 months ago by Rohit SutharTutorials6 comments – viewed 9,493 times – ( +5 / -1 ) – version 1.1
In this wiki I will show how could use a TbActiveForm for changing the old password with help of old, new and repeat password features.

How to use single form to collect data for two or more models (CActiveForm and Ajax Validation edition)

Updated 3 years ago by Darwin WenHow-tos9 comments – viewed 43,910 times – ( +22 ) – version 1.1
With Yii you can use one CActiveForm for collecting data for two or more models with ajax validation and client validation.

Avoiding duplicate script download when using CActiveForm on Ajax calls

Updated 3 years ago by Maurizio Domba CerinTutorials2 comments – viewed 16,626 times – ( +12 / -1 ) – version 1.1
Sometimes the active form we wish to use to edit/add a new element on our database is too small and we believe that is much better to use an AJAX'ed dialog/slide form rather than reloading the page to just display one or two fields.

Extending CActiveForm for some form display fixes and language tweaks

Updated 4 years ago by TrejderTips0 comments – viewed 14,137 times – ( +5 ) – version 1.1
In this simple example I'll demonstrate how to extend CActiveForm class to overload some drawing functions to achieve some commonly used fixes in forms.