[prev in list] [next in list] [prev in thread] [next in thread]
List: drupal-support
Subject: [support] Form select options...
From: pavithra <pavspavi88 () gmail ! com>
Date: 2011-01-28 10:18:29
Message-ID: AANLkTikp9-QpANmJ-jfXu96QCpaRVMuv3NfqMq4kPQP= () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
I want to display the form's select options like table:
$form['prod_select']=array(
'#type' => 'select',
'#title' => t('Select a product'),
'#size' => 7,
'#options' => $options,
'#default_value' => key($options),
'#attributes' => array('ondblclick' => 'return select_product_search();'),
);
this is what I have in my form's select-option..how to display options in
table..should I use theme?
--
*Cheers
**
*
[Attachment #5 (text/html)]
I want to display the form's select options like \
table:<div><div>$form['prod_select']=array(</div><div><span \
class="Apple-tab-span" style="white-space:pre"> </span>'#type' => \
'select',</div> <div><span class="Apple-tab-span" \
style="white-space:pre"> </span>'#title' => t('Select a \
product'),</div><div><span class="Apple-tab-span" \
style="white-space:pre"> </span>'#size' => 7,</div> <div><span \
class="Apple-tab-span" style="white-space:pre"> </span>'#options' => \
$options,</div><div><span class="Apple-tab-span" \
style="white-space:pre"> </span>'#default_value' => key($options),</div> \
<div><span class="Apple-tab-span" \
style="white-space:pre"> </span>'#attributes' => \
array('ondblclick' => 'return \
select_product_search();'),</div><div><span class="Apple-tab-span" \
style="white-space:pre"> </span>);</div> <div><br></div>this is what I have in my \
form's select-option..how to display options in table..should I use theme?<br>-- \
<br><font face="'times new roman', serif"><b><i><font \
color="#009900">Cheers</font><br> </i></b></font><font \
color="#C0C0C0"><b><br></b></font><br> </div>
--
[ Drupal support list | http://lists.drupal.org/ ]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic