[Html-widget] Deleting an element from a widget?
Dave Richards
htmlwidget at sonic.net.au
Sun Apr 15 01:19:12 GMT 2007
Hi all,
I am a newbie, so please be gentle...
I have a widget that I have created, that I would like to reuse (I am using HTML::widget with
Catalyst). The cut down example is:
$w->element('Textfield', 'name' )->label('Real Name')->size(20);
$w->element('Textfield', 'email' )->label('Email')->size(20);
$w->element('Textfield', 'username' )->label('Username')->size(12);
$w->element('Password', 'password' )->label('Password')->size(12);
However, I do not want to use the username or password field (the real example is much more
comprehensive, so would like to reuse if I can).
Is there any way to 'undef' the username and password elements?
Thanks,
Dave.
More information about the Html-widget
mailing list