Jifty::Web::Form::Field::Hidden - Add hidden fields to your forms


Jifty documentation Contained in the Jifty distribution.

Index


Code Index:

NAME

Top

Jifty::Web::Form::Field::Hidden - Add hidden fields to your forms

METHODS

Top

type

The HTML input type is hidden.

render

Renders a hidden form field. Doesn't render anything except the widget itself.

handler_allowed HANDLER_NAME

Handlers are not useful on hidden elements


Jifty documentation Contained in the Jifty distribution.
use warnings;
use strict;
 
package Jifty::Web::Form::Field::Hidden;

use base qw/Jifty::Web::Form::Field/;

sub type { 'hidden' }

sub render {
    my $self  = shift;
    $self->render_widget();
    return '';
}

sub handler_allowed {
    undef;
}


1;