Re: Forms and Descriptions
Just for completeness, there are five options that are potential descriptors: - label - before - between (comes between the label and input) - separator - after http://book.cakephp.org/view/1393/options-before-options-between-options-separator-a Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Jun 2010, at 23:28, Chris Hanson wrote: > ye know about label just wasnt sure on after lol thanks :D > > On 10 June 2010 17:15, Flavia Missi wrote: >> Hi! >> >> You can define a label for the input too, look like this: >> >> $form->input('input_name', array('label'=>'label name', >> 'after'=>'description for input')); >> >> Sorry if I wrote something wrong, I'm brazilian! ^^ >> >> Hope it helps... >> >> 2010/6/10 phpcoder2...@googlemail.com >>> >>> cheers Jeremy! you seem to reply to everyone's issues :D lol thanks! >>> >>> On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit >>> wrote: User the 'after' option and then apply css: echo $this->Form->input( 'field_name', array( 'after' => 'Your description...' ) ); Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > Hey guys building a form and not sure how to go about adding > descriptions to each input, from what ive seen there is no description > option in the $form->input(); does anyone know of a simple way to > achieve this? > thanks > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > others with their CakePHP related questions. > You received this message because you are subscribed to the Google > Groups "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this > group athttp://groups.google.com/group/cake-php?hl=en >>> >>> Check out the new CakePHP Questions site http://cakeqs.org and help others >>> with their CakePHP related questions. >>> >>> You received this message because you are subscribed to the Google Groups >>> "CakePHP" group. >>> To post to this group, send email to cake-php@googlegroups.com >>> To unsubscribe from this group, send email to >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group >>> at http://groups.google.com/group/cake-php?hl=en >> >> >> >> -- >> Flàvia Missi >> >> Check out the new CakePHP Questions site http://cakeqs.org and help others >> with their CakePHP related questions. >> >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To post to this group, send email to cake-php@googlegroups.com >> To unsubscribe from this group, send email to >> cake-php+unsubscr...@googlegroups.com For more options, visit this group at >> http://groups.google.com/group/cake-php?hl=en >> > > > > -- > Kind Regards Chris > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
Hi! You can define a label for the input too, look like this: $form->input('input_name', array('label'=>'label name', 'after'=>'description for input')); Sorry if I wrote something wrong, I'm brazilian! ^^ Hope it helps... 2010/6/10 phpcoder2...@googlemail.com > cheers Jeremy! you seem to reply to everyone's issues :D lol thanks! > > On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit > wrote: > > User the 'after' option and then apply css: > > > > echo $this->Form->input( > > 'field_name', > > array( > > 'after' => 'Your description...' > > ) > > ); > > > > Jeremy Burns > > Class Outfit > > > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > > > On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > > > > > > > > > Hey guys building a form and not sure how to go about adding > > > descriptions to each input, from what ive seen there is no description > > > option in the $form->input(); does anyone know of a simple way to > > > achieve this? > > > > > thanks > > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > others with their CakePHP related questions. > > > > > You received this message because you are subscribed to the Google > Groups "CakePHP" group. > > > To post to this group, send email to cake-php@googlegroups.com > > > To unsubscribe from this group, send email to > > > cake-php+unsubscr...@googlegroups.comFor > > > more options, visit this group athttp:// > groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Flàvia Missi Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
ye know about label just wasnt sure on after lol thanks :D On 10 June 2010 17:15, Flavia Missi wrote: > Hi! > > You can define a label for the input too, look like this: > > $form->input('input_name', array('label'=>'label name', > 'after'=>'description for input')); > > Sorry if I wrote something wrong, I'm brazilian! ^^ > > Hope it helps... > > 2010/6/10 phpcoder2...@googlemail.com >> >> cheers Jeremy! you seem to reply to everyone's issues :D lol thanks! >> >> On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit >> wrote: >> > User the 'after' option and then apply css: >> > >> > echo $this->Form->input( >> > 'field_name', >> > array( >> > 'after' => 'Your description...' >> > ) >> > ); >> > >> > Jeremy Burns >> > Class Outfit >> > >> > jeremybu...@classoutfit.comhttp://www.classoutfit.com >> > >> > On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: >> > >> > >> > >> > > Hey guys building a form and not sure how to go about adding >> > > descriptions to each input, from what ive seen there is no description >> > > option in the $form->input(); does anyone know of a simple way to >> > > achieve this? >> > >> > > thanks >> > >> > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help >> > > others with their CakePHP related questions. >> > >> > > You received this message because you are subscribed to the Google >> > > Groups "CakePHP" group. >> > > To post to this group, send email to cake-php@googlegroups.com >> > > To unsubscribe from this group, send email to >> > > cake-php+unsubscr...@googlegroups.com For more options, visit this >> > > group athttp://groups.google.com/group/cake-php?hl=en >> >> Check out the new CakePHP Questions site http://cakeqs.org and help others >> with their CakePHP related questions. >> >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To post to this group, send email to cake-php@googlegroups.com >> To unsubscribe from this group, send email to >> cake-php+unsubscr...@googlegroups.com For more options, visit this group >> at http://groups.google.com/group/cake-php?hl=en > > > > -- > Flàvia Missi > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Kind Regards Chris Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
ye i thought about that, but thought there may be a cake wayoh well lol thanks for the help :D On Jun 10, 5:14 pm, Jeremy Burns | Class Outfit wrote: > Wild stab without thinking, researching or testing... > > I think you could do: > > 'after' => 'My description...' > > ...and then style span.description. > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 10 Jun 2010, at 17:00, phpcoder2...@googlemail.com wrote: > > > > > is there a way to wrap class around, like after_class? thanks > > > On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit > > wrote: > >> User the 'after' option and then apply css: > > >> echo $this->Form->input( > >> 'field_name', > >> array( > >> 'after' => 'Your description...' > >> ) > >> ); > > >> Jeremy Burns > >> Class Outfit > > >> jeremybu...@classoutfit.comhttp://www.classoutfit.com > > >> On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > > >>> Hey guys building a form and not sure how to go about adding > >>> descriptions to each input, from what ive seen there is no description > >>> option in the $form->input(); does anyone know of a simple way to > >>> achieve this? > > >>> thanks > > >>> Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp others > >>> with their CakePHP related questions. > > >>> You received this message because you are subscribed to the Google Groups > >>> "CakePHP" group. > >>> To post to this group, send email to cake-php@googlegroups.com > >>> To unsubscribe from this group, send email to > >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group > >>> athttp://groups.google.com/group/cake-php?hl=en > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to cake-php@googlegroups.com > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
Wild stab without thinking, researching or testing... I think you could do: 'after' => 'My description...' ...and then style span.description. Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Jun 2010, at 17:00, phpcoder2...@googlemail.com wrote: > is there a way to wrap class around, like after_class? thanks > > On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit > wrote: >> User the 'after' option and then apply css: >> >> echo $this->Form->input( >> 'field_name', >> array( >> 'after' => 'Your description...' >> ) >> ); >> >> Jeremy Burns >> Class Outfit >> >> jeremybu...@classoutfit.comhttp://www.classoutfit.com >> >> On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: >> >> >> >>> Hey guys building a form and not sure how to go about adding >>> descriptions to each input, from what ive seen there is no description >>> option in the $form->input(); does anyone know of a simple way to >>> achieve this? >> >>> thanks >> >>> Check out the new CakePHP Questions sitehttp://cakeqs.organd help others >>> with their CakePHP related questions. >> >>> You received this message because you are subscribed to the Google Groups >>> "CakePHP" group. >>> To post to this group, send email to cake-php@googlegroups.com >>> To unsubscribe from this group, send email to >>> cake-php+unsubscr...@googlegroups.com For more options, visit this group >>> athttp://groups.google.com/group/cake-php?hl=en > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
is there a way to wrap class around, like after_class? thanks On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit wrote: > User the 'after' option and then apply css: > > echo $this->Form->input( > 'field_name', > array( > 'after' => 'Your description...' > ) > ); > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > > > > > Hey guys building a form and not sure how to go about adding > > descriptions to each input, from what ive seen there is no description > > option in the $form->input(); does anyone know of a simple way to > > achieve this? > > > thanks > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to cake-php@googlegroups.com > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
cheers Jeremy! you seem to reply to everyone's issues :D lol thanks! On Jun 10, 4:56 pm, Jeremy Burns | Class Outfit wrote: > User the 'after' option and then apply css: > > echo $this->Form->input( > 'field_name', > array( > 'after' => 'Your description...' > ) > ); > > Jeremy Burns > Class Outfit > > jeremybu...@classoutfit.comhttp://www.classoutfit.com > > On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > > > > > Hey guys building a form and not sure how to go about adding > > descriptions to each input, from what ive seen there is no description > > option in the $form->input(); does anyone know of a simple way to > > achieve this? > > > thanks > > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others > > with their CakePHP related questions. > > > You received this message because you are subscribed to the Google Groups > > "CakePHP" group. > > To post to this group, send email to cake-php@googlegroups.com > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Forms and Descriptions
User the 'after' option and then apply css: echo $this->Form->input( 'field_name', array( 'after' => 'Your description...' ) ); Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 10 Jun 2010, at 16:46, phpcoder2...@googlemail.com wrote: > Hey guys building a form and not sure how to go about adding > descriptions to each input, from what ive seen there is no description > option in the $form->input(); does anyone know of a simple way to > achieve this? > > thanks > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Forms and Descriptions
Hey guys building a form and not sure how to go about adding descriptions to each input, from what ive seen there is no description option in the $form->input(); does anyone know of a simple way to achieve this? thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en