Rose::HTML::Form::Field::Hidden(3p)

NAME
Rose::HTML::Form::Field::Hidden - Object representation of a hidden field in an HTML form.

SYNOPSIS
    $field =
      Rose::HTML::Form::Field::Hidden->new(
        name  => 'code',
        value => '1234');

    print $field->html;

    ...

DESCRIPTION
Rose::HTML::Form::Field::Hidden is an object representation of a hidden field in an HTML form.

This class inherits from, and follows the conventions of, Rose::HTML::Form::Field. Inherited methods that are not overridden will not be documented a second time here. See the Rose::HTML::Form::Field documentation for more information.

HTML ATTRIBUTES
Valid attributes:

    accept
    class
    dir
    id
    lang
    name
    style
    type
    value
    xml:lang

Required attributes (default values in parentheses):

    type (hidden)
    value

CONSTRUCTOR

new PARAMS
    Constructs a new Rose::HTML::Form::Field::Hidden object based on PARAMS, where PARAMS are name/value pairs. Any object method is a valid parameter name.

OBJECT METHODS

error
    This method is a no-op.

has_error
    Returns false.

AUTHOR
John C. Siracusa (siracusa@gmail.com)

COPYRIGHT
Copyright (c) 2007 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.