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.


_______________________________________________
Html-widget mailing list
[EMAIL PROTECTED]
http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget

Reply via email to