in2code-de / powermail_cond

Add conditions (via AJAX) to TYPO3 powermail forms for fields and pages
8 stars 23 forks source link

Call of reInitializeParsleyValidation should be reduced #6

Closed garbast closed 7 years ago

garbast commented 7 years ago

After every call of derequireField or rerequireField the method reInitializeParsleyValidation gets called. This results in a lot destroy and initialize of parsely. The the form contains a lot of fields this sums up to a lot of processing time.

If the call is only done once after the form was processed this would speed up the validation a lot.