getDisplayName()); ?>
getFields() as $Field) { PrintFieldInGroup($Field); } } # ----- SETUP ---------------------------------------------------------------- # verify that required incoming variables are set if (!isset($H_Group)) { throw new Exception("Variable \$H_Group not set."); } if (!isset($H_SchemaId)) { throw new Exception("Variable \$H_SchemaId not set."); } $RenameButton = new HtmlButton("Rename"); $RenameButton->setIcon("Pencil.svg"); $RenameButton->setValue("EditGroupName"); $CancelButton = new HtmlButton("Cancel"); $CancelButton->setIcon("Cross.svg"); $CancelButton->addSemanticClass("btn-danger"); $FormFields = [ "GroupName" => [ "Type" => FormUI::FTYPE_TEXT, "Label" => "Group Name" ] ]; $FormValues = [ "GroupName" => $H_Group->name() ]; $RenameForm = new FormUI($FormFields, $FormValues); $RenameForm->addHiddenField("F_SchemaId", $H_SchemaId); $RenameForm->addHiddenField("F_GroupId", (string)$H_Group->id()); # ----- DISPLAY -------------------------------------------------------------- ?>

# Rename Metadata Field Group

For reference, the following metadata fields are in this group:

displayFormTable(); ?>
getHtml(); ?> getHtml(); ?>