Skip to content
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

Agreement field not validated #10

Open
silenzium opened this issue Sep 13, 2016 · 2 comments
Open

Agreement field not validated #10

silenzium opened this issue Sep 13, 2016 · 2 comments

Comments

@silenzium
Copy link

If I enable the aggreement checkbox, a user still can submit the registration form and a user account will be created, since the parent::compile() is executed before the aggreement widget will validate and also in the ModuleRegistration::compile() method the agreement will not be in the list of validated fields, so it doesn't comlain and creates the user.
I also don't get any error messages in the form for the agreement field.

Using Contao 3.5.2

Is this a known bug or am I the only one with this behaviour? I get this in two different projects.

@V15
Copy link

V15 commented Sep 29, 2016

I have the same issue. Your fix works fine! Thanks a lot.

@silenzium
Copy link
Author

will this be review and merged some time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants