main
Robert 1 month ago
parent ee021fd704
commit 413175fde6
  1. 8
      src/classes/form_builder/html_form.php

@ -230,7 +230,13 @@ class html_form {
$input_name = (isset($form_ctrl['name'])) ? $form_ctrl['name'] : $key;
$this->$type_of_form_input($input_name, array_merge($fc, ['id'=>$key, 'value'=>$value], $r_a));
$this->close_div();
if ($is_required) {
$this->open_div(['class' => 'valid-feedback']);
$this->append_out("Looks good");
$this->close_div();
}
$this->close_div();
}
return [
'html_output'=>$html_output,

Loading…
Cancel
Save