Problem/Motivation

Since we do not always want the same validations and sometimes there are complex elements that require other types of validations, I have created a form that allows us to filter content types forms and the Webforms by their IDs, to choose which ones we want it to apply to Clientside Validation.

Proposed resolution

I have created a form with 2 textareas through which the IDs of those forms in which we want the module validation to apply can be added. A checkbox has also been added that allows it to be applied to all forms if it is enabled, and only to those that we want if it is disabled.

User interface changes

Through '/admin/config/clientside-validation-filter-forms' we can access the form that allows this functionality.

Issues during the implementation

Currently everything is working fine, but I cannot make a Merge request to the clientside_validation repository, I am trying to authenticate from phpStorm with my gitlab username and my drupal.org password or with my gitlab username and a new access token that I created, can someone help me upload my code for review?

CommentFileSizeAuthor
Screenshot_2.png34.63 KBcarlosgm91

Comments

carlosgm91 created an issue. See original summary.

carlosgm91’s picture

Issue summary: View changes
carlosgm91’s picture

Title: New form to add form_id's to filter in wich forms we want the clientside validation » New form to add form_id's to filter in which forms we want the clientside validation
oneillo’s picture

Have you been able to upload this code anywhere? I would be interested in implementing this on my sites.

vanilla-bear’s picture

Hello same her !

edmund.dunn’s picture

carlosgm91’s picture

Hi oneillo and vanilla-bear, i have in my project a module that extends from this to have this functionality but seems that edmund.dunn linked an issue related to this, anyway if in the attached issue you dont find the solution, answer me here and i will upload to drupal org this module that add the extra functionality, due i was not been able to make a MR to be approved by the mantainers.