[support] how to create the textbox
sumit kataria
pec.sumit at gmail.com
Thu Jul 17 18:02:53 UTC 2008
HI
you can use formAPI to create a text box (more specifications on
api.drupal.org)
your form function will go like this -
$form['example_textbox'] = array(
'#title' => t('my first textbox'),
'#description' => t(),
'#type' = 'textbox',
);
$form['MySubmit'] = array(
'#type' => submit,
);
and in corresponding submit function use
$form_state['values']['examle_textbox'] to get text string !!
On Thu, Jul 17, 2008 at 4:58 PM, bharani kumar <
bharanikumariyerphp at gmail.com> wrote:
> Hi dears
>
>
> How to create the textbox,
>
> I am writing custom block,
>
> So i want one text box, one submit button,
>
> for search operation..
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
--
Warm Regards
sumit kataria
cell 91-9888546343
www.sumitk.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080717/f25f2411/attachment.htm
More information about the support
mailing list