Re: very annoying textarea problem in quickform...

From: Date: Thu, 21 Dec 2006 13:54:40 +0000
Subject: Re: very annoying textarea problem in quickform...
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26166@lists.php.net to get a copy of this message
The best way to achieve what you want, is to use a template. I use QuickHTML, that is very.... quick! Or perhaps you could make your own template, from the default one, with the little improvement needed.... On 12/21/06, rav k <rav220@hotmail.com> wrote:
Hi I am using the default template. When I use advcheckbox the individual element labels show fine. When I use textarea they don't. What is the solution around this? www.bitesoftware.com - software for a better lifestyle From: "Nicolás Eugenio Ozimiça" <nozimica@gmail.com> To: "rav k" <rav220@hotmail.com> CC: pear-general@lists.php.net Subject: Re: [PEAR] very annoying textarea problem in quickform... Date: Thu, 21 Dec 2006 10:20:08 -0300 MIME-Version: 1.0 Received: from wr-out-0506.google.com ([64.233.184.234]) by bay0-mc12-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 21 Dec 2006 05:20:09 -0800 Received: by wr-out-0506.google.com with SMTP id
67so2102482wri        for
<rav220@hotmail.com>; Thu, 21 Dec 2006 05:20:08 -0800 (PST) Received: by 10.78.201.15 with SMTP id y15mr824378huf.1166707208228; Thu, 21 Dec 2006 05:20:08 -0800 (PST) Received: by 10.78.154.13 with HTTP; Thu, 21 Dec 2006 05:20:08 -0800 (PST) X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlK3oXsmRrh6gU=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;        s=beta;
d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ppRb+/PampV6BxCP3AokF76gWGmVotTty2VN+bwrRPl9Irn/gC4YRKtyNU/khv4AIiP71S2VdDCaAi8jLePJdiA9S0AMfG9RksQ17m31kp9mntaXzGcAWFsTrWckgMsyuuoM7dfynSg+5WYBys2Rz/ji09uvdT+Z3qqm1FsPdMY= References: <BAY108-F9730CCE13C67CE0E615E79ACE0@phx.gbl> Return-Path: nozimica@gmail.com X-OriginalArrivalTime: 21 Dec 2006 13:20:10.0069 (UTC) FILETIME=[BD5FE850:01C72502] Hi! Are you using templates? And is displayed the label of the first textarea in the group? As far as I know, if you group elements and you use the default template, there is room for only one label (the one of the group itself), and the labels of the elements in the group are ignored... On 12/21/06, rav k <rav220@hotmail.com> wrote:
Hi All I'm trying to do is add a group of textareas and give each one a label. When I do this with advcheckboxes it works ok, but for some reason the textareas dont show their labels and the code looks correct. What is
going
on???!?! Here's my code: $res =& $mdb2->query('SELECT * FROM Skills'); $skills = array(); while ($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) {
        $skills[] = &HTML_QuickForm::createElement('textarea',
$row['skillid'], $row['skillname'], 'rows=4 cols=30'); } $form->addGroup($skills, 'skills', 'Your requirements:', '<br />'); I've done print_r and the correct $row['skillname'] is returned so I
know
the correct values are there. But they just aren't showing for some reason. I've tried to remove the skillgroup label but not working!! Please help! Thanks rav www.bitesoftware.com - software for a better lifestyle _________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Nicolás Eugenio Ozimiça Universidad de Chile _________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Nicolás Eugenio Ozimiça Universidad de Chile

« previous php.pear.general (#26166) next »