e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Bug]: Submitting a form with an invalid element does not switch to the appropriate tab so that it is visible #5230

Closed CaMer0n closed 2 months ago

CaMer0n commented 2 months ago

What e107 version are you using?

Latest Github version (just updated)

Bug description

Submitting a form with an invalid element does not switch to the appropriate tab so that it is visible.

How to reproduce

  1. Edit a news item.
  2. Enter a large amount of text in the meta-description field, until it becomes invalid.
  3. Select a different tab
  4. Click the submit button.

Expected behavior

The form should not submit, but it SHOULD display the invalid field that is causing the issue by switching the tab.

What browser(s) are you seeing the problem on?

Firefox

PHP Version

PHP 8.3