|
Re: Zend_Form: Element grouping: msg#00172php.zend.framework.mvc
http://codecaine.co.za/posts/compound-elements-with-zend-form That might help. On Tue, Jul 29, 2008 at 3:19 PM, Stephan Stapel <stephan.stapel-S0/GAf8tV78@xxxxxxxxxxxxxxxx> wrote: > Hi, > > I have a question which might be similar to Axel's one from yesterday but > I'm not really sure. > > My goal is to create a form for entering personal information. Among this > information is street name and street number which should be two fields, > displayed next to each other. Phone number entry is made of two entries as > well (prefix and actual phone number) which should also be displayed next > to each other. > > The form should look like this: > > First name : [------------] > Last name : [------------] > Street/ No. : [-------] [--] > City : [------------] > Phone No. : [--] [-------] > > What feature would you use to implement this? Would you create a display > groups (and with which decorator) or would you rather create a new > Zend_Form_Element class 'MyFormElementPhoneNo' resp. > 'MyFormElementStreetNo' that show two text fields in one row? > > I couldn't find more similar posts and answers in the list but what be > happy if you would just point me to earlier solutions. > > cheers, > > Stephan > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Zend_Form: Element grouping: 00172, Stephan Stapel |
|---|---|
| Next by Date: | Re: Best practices in a thin-controller application: 00172, Bryce Lohr |
| Previous by Thread: | Zend_Form: Element groupingi: 00172, Stephan Stapel |
| Next by Thread: | Re: Zend_Form: Element grouping: 00172, Stephan Stapel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |