? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
15 Mar 2020

Partial Pull Request for Issue #25490 .

Summary of Changes

  • Adds the class form-validate to various forms so that they are correctly used by the validator.
  • Adds the formvalidator javascript to the installer where we had the classes but not the JS
  • Removes the data-cancel-task attribute from com_config where we now no longer use core mvc and it follows the "normal" task pattern

Basically every form using the formvalidator behaviour is now associated with a form containing the form-validate class. (The password field additionally includes the behaviour without the class but that is outside the scope of the PR as the JS has a hard dependency)

Testing Instructions

Ensure form validation in forms continues to work especially in the forms affected in this PR

Documentation Changes Required

None

avatar wilsonge wilsonge - open - 15 Mar 2020
avatar wilsonge wilsonge - change - 15 Mar 2020
Status New Pending
avatar wilsonge wilsonge - change - 15 Mar 2020
Title
Cleanup formvalidation behaviour
[4.0] Cleanup formvalidation uses
avatar wilsonge wilsonge - edited - 15 Mar 2020
avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2020
Category Administration com_associations com_banners com_config com_media com_messages Front End Installation
avatar wilsonge wilsonge - change - 15 Mar 2020
The description was changed
avatar wilsonge wilsonge - edited - 15 Mar 2020
avatar chmst
chmst - comment - 16 Mar 2020

I have tested this item successfully on 9d3b8f5

All forms work as before, so it is successful test.
Validation itself does not work for numbers but this is not in scope of this PR.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28352.
avatar chmst chmst - test_item - 16 Mar 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 16 Mar 2020

I have tested this item successfully on 9d3b8f5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28352.

avatar jwaisner jwaisner - test_item - 16 Mar 2020 - Tested successfully
avatar jwaisner jwaisner - change - 16 Mar 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 16 Mar 2020

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/28352.

avatar wilsonge wilsonge - change - 16 Mar 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-03-16 14:13:17
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 16 Mar 2020
avatar wilsonge wilsonge - merge - 16 Mar 2020
avatar wilsonge
wilsonge - comment - 16 Mar 2020

Cheers guys

Add a Comment

Login with GitHub to post a comment