-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
parsley error messages disappear after every ajax call #19
Comments
same in: powermail 6.0.0 line 286 in: $formElement.parsley(); it seems for me, that this does'nt work. |
Having the same issue I decided to dig a little deeper into why this is happening. BasicsQuick refresher on how
ProblemThe problem arises because the PowermailCondition script also reinitializes parsley if it has been activated resulting in previous error messages being hidden again. SolutionThe solution seems to be simple: Don't reinitialize parsley. @einpraegsam direct question: Is there something I am missing about parsley being reinitialized? |
I have opened #24 which solves this issue by removing parsley reinitialization. |
Thanks @j6s! The solution to don't reinitialize parsley worked for me. This parsley issue also affects the usability when using Tabs (or Steps). When validating the form, and an invalid field exists in another tab/step, the tab/step doesn't get activated automatically to show the error to the user, leaving the user clueless about why the form is not sending. By commenting out the line reInitializeParsleyValidation(); in the file PowermailCondition.js, the issue was fixed. Thanks! I hope #24, gets merged in the next release. |
Hi, |
Is this still working in v 7.0.0 ? I removed the lines from The TS loads the /Public/PowermailCondition.min.js by default (i execpted this file is generated from PowermailCondition.js) |
I have the same problem running Powermail 7.4 & conditions 7.0, Typo3 9.5. Using AJAX or not, it happens in both cases. Uncommenting does not work. The minified version is missing the reInitializeParsleyValidation() function and does not seem to be generated from PowermailConditions,js...? |
Still having this issue on TYPO3 10.4 with powermail 8.4.1 and powermail_cond 8.2.2 Removing the Would be perfect if parsley could only be reinitialized when fields are getting added or removed by Powermail Conditions - but I couldn't find out how to get that working. |
Error messages, which are shown before the powermail_condition ajax call is fired, immediatly disappear with the ajax call.
For usabilty reasons this not acceptable for the user.
powermail 5.6
powermail_cond 4.1.1
TYPO3 8.7.13
The text was updated successfully, but these errors were encountered: