NAME
XML::Template::Element::Form - XML::Template plugin module for the form namespace.
SYNOPSIS
This XML::Template plugin module implements the form namespace tagset. The block namespace includes tags that simplify the creation of HTML forms.
CONSTRUCTOR
XML::Template::Element::Form inherits its constructor method, new
, from XML::Template::Element.
FORM TAGSET METHODS
select
This method implements the beginning of an HTML select form element. The following attributes are used:
- name
-
The name of the select element.
- default
-
The value of the option child to select by default.
option
This method implements the option section of an HTML select form element. The label of the option is contained in the content of this element The following attributes are used:
- value
-
The value of the option.
upload
This method implements the upload tag, which is used to handle files uploaded via CGI. The following attributes are used:
- name
-
The name of the upload form element used to upload the file.
- dest
-
The file spec to which the uploaded file will be saved.
AUTHOR
Jonathan Waxman <jowaxman@bbl.med.upenn.edu>
COPYRIGHT
Copyright (c) 2002-2003 Jonathan A. Waxman All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.