diff --git a/app/resources/locales/en_US/field.po b/app/resources/locales/en_US/field.po
index 28273eb27..61d51b6a1 100644
--- a/app/resources/locales/en_US/field.po
+++ b/app/resources/locales/en_US/field.po
@@ -312,6 +312,9 @@ msgstr "Limit Global Search Scope"
msgid "CoSettings.search_global_limited_models.desc"
msgstr "If true, Global Search will only search Names, Email Addresses, and Identifiers. This may result in faster searches for larger deployments."
+msgid "format"
+msgstr "format"
+
msgid "GroupMembers.source"
msgstr "Membership Source"
diff --git a/app/src/View/Helper/FieldHelper.php b/app/src/View/Helper/FieldHelper.php
index 02f014cdb..faf3a1653 100644
--- a/app/src/View/Helper/FieldHelper.php
+++ b/app/src/View/Helper/FieldHelper.php
@@ -99,6 +99,9 @@ public function control(string $fieldName,
// Specify a class on the
form control wrapper
$liClass = $cssClass;
+
+ // Collect any supplemental markup and/or JavaScript to pass along for field construction
+ $fieldSupplement = !empty($config['supplement']) ? $config['supplement'] : '';
// Remove prefix from field value
if(isset($config['prefix'], $this->getView()->get('vv_obj')->$fieldName)) {
@@ -154,8 +157,8 @@ public function control(string $fieldName,
return $this->startLine($liClass)
. $this->formNameDiv($fieldName, $labelText)
. ( !empty($config['prefix']) ?
- $this->formInfoWithPrefixDiv($controlCode, $config['prefix']) :
- $this->formInfoDiv($controlCode) )
+ $this->formInfoWithPrefixDiv($controlCode, $config['prefix'], $fieldSupplement) :
+ $this->formInfoDiv($controlCode, $fieldSupplement) )
. $this->endLine();
}
@@ -275,9 +278,9 @@ protected function endLine(): string {
* @return string Form Info HTML
*/
- protected function formInfoDiv(string $content): string {
+ protected function formInfoDiv(string $content, string $supplement): string {
return '