XHTML Bugfixes

This commit is contained in:
Wouter van Oijen 2005-10-16 20:20:31 +00:00
parent 3d65ae2158
commit 0a0195fd60
4 changed files with 17 additions and 7 deletions

View file

@ -94,13 +94,13 @@ sub toHtmlAsHidden {
=head2 toHtmlWithWrapper ( )
A synonym for toHtmlAsHidden.
Renders the form field to HTML as a table row. The row is not displayed because there is nothing to display, but it may not be left away because <input> may not be a child of <table> according to the XHTML standard.
=cut
sub toHtmlWithWrapper {
my $self = shift;
return $self->toHtmlAsHidden;
return '<tr style="display: none"><td></td><td>'.$self->toHtmlAsHidden.'</td></tr>';
}