From 3357431cfb8b99288cf866c5cc503516cc8c3205 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 11 Dec 2012 21:43:53 +0000 Subject: [PATCH] CSS for select lists, started multi-autocompletion --- lam/lib/html.inc | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index af99776b..21bc402a 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -381,6 +381,10 @@ class htmlInputField extends htmlElement { private $validationRule = null; /** enable autocomplete */ private $autocomplete = false; + /** multiple values in one field */ + private $autocompleteMultiValue = false; + /** separator expression for multiple values in one field */ + private $autocompleteMultiValueSeparator = null; /** autocompletion suggestions */ private $autocompleteValues = array(); /** autocomplete start at this input length */ @@ -471,10 +475,27 @@ class htmlInputField extends htmlElement { // autocompletion if ($this->autocomplete) { echo "