6.1
I do not expect to see issues in the developer console.
Developer Console shows these issues:
No response
No response
none
They were resolved by overriding default_form.php
1. TO FIX jform_captcha-lbl ISSUE:
FIND:
<?php if ($this->captchaEnabled) : ?>
<?php echo $this->form->renderFieldset('captcha'); ?>
<?php endif; ?>
REPLACE WITH:
<?php if ($this->captchaEnabled) : ?>
<?php foreach ($this->form->getFieldset('captcha') as $captchaField) : ?>
<div class="control-group mb-3 custom-captcha-wrap">
<div class="controls">
<!-- Output only the raw captcha engine code, stripping the broken container label -->
<?php echo $captchaField->input; ?>
</div>
</div>
<?php endforeach; ?>
<?php endif; ?>
2. TO FIX jform_spacer-lbl ISSUE:
FIND:
<?php foreach ($fields as $field) : ?>
<?php echo $field->renderField(); ?>
<?php endforeach; ?>
REPLACE WITH:
<?php foreach ($fields as $field) : ?>
<?php
// Check if the current field is a structural divider or spacer
if ($field->type === 'Spacer' || str_contains(strtolower($field->id), 'spacer')) : ?>
<div class="control-group mb-3 standard-spacer-wrap">
<div class="controls border-top pt-2">
<!-- Render only the spacer markup text/HR, bypassing the label generator -->
<?php echo $field->input; ?>
</div>
</div>
<?php else : ?>
<!-- Let all real input elements render standard matching labels -->
<?php echo $field->renderField(); ?>
<?php endif; ?>
<?php endforeach; ?>
| Labels |
Added:
No Code Attached Yet
a11y
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-08-17 06:00:08 |
| Closed_By | ⇒ | QuyTon |
Please test PR #48244. Thanks.