creating a form

i am new to yii. How do I create a form that is not associated with a model? basically it is suppose to be just a plain search form.

Well its the same thing as creating a simple form. You can check a form example which is not associated with any Ative Record class model is a Contact us form in blog demo application.

If you want to create any form then look at above given suggestion in demo blog app. and you can give a specific url for search form by defining a action for form.

Please refer this link for more details.

Also you can get some more detail form this link too.Which is implementing a zend Lucene search.

you can take reference of siteController / actionIndex .

[color="#008000"]NOTE: merged duplicate posts[/color]

Hi

Thanks for the information…it was helpful to me