I am just starting to use Yii and so far I am very impressed. However since my programming skills are very basic I am looking for tutorials that describe step by step what I need to do.
The tutorial that I am looking for is a step by step tutorial on how to create my first form. There are several to be found but in my opinion all of them assume some level of knowledge that I lack.
If someone can be as kind to explain to me how I can start making my own forms in the simplest of steps like:
Thanks for the answer however it still doesn’t answer my original question. I am merely looking for a quick start guide on how to create a form.
Plus I think that you are mistaken in your answer. The first code snippet should go in /protected/models/LoginForm.php and not as you suggested in protected/views/site/loginForm.php
Anyway, in my opinion the documents are not very straightforward. It assumes too much knowledge of Yii from the start. It would really help if there is a very basic quick start explaining how to create an input form. Start with a Form Modal en then move to an Active Record type of form.
It`s not my suggestion. Read doc its just quote from it. Have you tried Blog tutorial ? Try to build basic app and then update it with more advance things. For me it was good way to start with Yii.