Add new parameter 'title' to guide the user
The 'title' attribute will render as tooltip in the browser which is useful to provide guidance to the operator.
This commit is contained in:
parent
48b53b7c03
commit
8db5dde69d
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@ CARD;
|
||||||
|
|
||||||
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
|
$additionalInfoString .= " pattern=\"".$inputEntry['pattern']."\"";
|
||||||
|
|
||||||
|
}
|
||||||
|
if(isset($inputEntry['title'])) {
|
||||||
|
|
||||||
|
$additionalInfoString .= " title=\"" .$inputEntry['title']."\"";
|
||||||
|
|
||||||
}
|
}
|
||||||
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
|
if(!isset($inputEntry['exampleValue'])) $inputEntry['exampleValue'] = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue