diff --git a/lam/lib/html.inc b/lam/lib/html.inc
index 7ccd6f76..a0a39f5c 100644
--- a/lam/lib/html.inc
+++ b/lam/lib/html.inc
@@ -418,6 +418,8 @@ class htmlInputField extends htmlElement {
protected $fieldMaxLength = 255;
/** on keypress event */
protected $onKeyPress = null;
+ /** on keyupp event */
+ protected $onKeyUp = null;
/** password field */
protected $isPassword = false;
/** check password strength */
@@ -535,11 +537,15 @@ class htmlInputField extends htmlElement {
if ($this->onKeyPress != null) {
$onKeyPress = ' onkeypress="' . $this->onKeyPress . '"';
}
+ $onKeyUp = '';
+ if ($this->onKeyUp != null) {
+ $onKeyUp = ' onkeyup="' . $this->onKeyUp . '"';
+ }
$title = '';
if (!empty($this->title)) {
$title = ' title="' . $this->title . '"';
}
- echo '';
+ echo '';
// autocompletion
if ($this->autocomplete) {
echo "