diff --git a/program/include/html.php b/program/include/html.php
index a11a1a4b2..68bc66b36 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -248,7 +248,7 @@ class html_inputfield extends html
{
protected $tagname = 'input';
protected $type = 'text';
- protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange');
+ protected $allowed = array('type','name','value','size','tabindex','autocomplete','checked','onchange','onclick');
public function __construct($attrib = array())
{