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