From 529044333a125ac72d27613b26d194a1a5ec6a70 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 19 Dec 2006 00:54:06 +0000 Subject: [PATCH] Add support for hidden elements --- PrinterBaseElement.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PrinterBaseElement.php b/PrinterBaseElement.php index 0934484..55996e6 100644 --- a/PrinterBaseElement.php +++ b/PrinterBaseElement.php @@ -113,6 +113,10 @@ class BSPrinterBaseElement extends BSPrinterElement return 'type == 'text' OR $this->type == 'password') ? ' size="35" maxlength="255"' : ''). $this->_prepareStyle() . ' />'; break; + case 'hidden': + return ''; + break; + case 'checkbox': case 'radio': return 'active ? ' checked="checked"' : '') . $this->_prepareStyle() . ' />'; -- 2.43.5