Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
We've covered a lot of the new widgets and validators while creating our now somewhat mature application (at least as far as our forms and validation). For the most part, once you get the hang of using widgets and validators, the process becomes repetitious and straightforward. The only trick is finding out exactly what other widgets and... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
Now that we've got a good base down for how widgets and validators work, we're going to extend our application. Today's work will be to add articles for our author, and we'll see lot's more new widgets and validators. Let's review the original schema.
... [read on]Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
Welcome to day 4 of our 7 day series on the new Symfony 1.1 forms, widgets and validation system. Yesterday we used our form to save our object to the database. Today we're going to tidy up that form by adding validation.
First, let's make our first name and last name fields required. In our AuthorForm class, notice the new... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
Welcome to day 3 or the introduction to the new form system in Symfony 1.1. Yesterday we looked into the automatic generation of the Propel Form objects that fuel the forms for your objects. Today, let's clean up those forms and make them useful.
Yesterday, while we got to the point where we could submit our form (with... [read on]
Note: This article is up to date through revision 7136. No promises after that - but I will try to stay up to date.
Day 2, time to actually makes some forms. Let's jump right in. First, let's define a model to play with:
... [read on]