Wiki

Articles tagged with "cform"X
Displaying 1-3 of 3 result(s).

How to show a Captcha in CForm?

Created 3 months ago by Rohit SutharHow-tos0 comments – viewed 1,868 times – ( +3 / -1 ) – version 1.1
In this wiki I will show how could use a Captcha in yii CForm. The easy way to show captcha image is create a form using CHtml method & CActiveForm, but CForm also should be able to show a captcha.
tags: captcha, CForm, widget

How to preload dropdowns in CForm

Created about a year ago by transistorTips0 comments – viewed 4,009 times – ( +1 )
So you want to use CForm (form builder), but need to preload dropdowns in a form? It's simpler than it seems. You got your CFormModel, CForm and the actual Form, right? Let's say you have the typical State -> City dependent dropdowns, so you would want to load the from with the State and City selected.

File uploads in CForm (Form builder)

Created 3 years ago by Luke JurgsHow-tos2 comments – viewed 33,942 times – ( +12 ) – version 1.1
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.