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

Set required and verification rule during creating ReCaptchaField #10

Closed
wants to merge 1 commit into from

Conversation

sallyx
Copy link

@sallyx sallyx commented Apr 5, 2017

Fix for issue #9

@f3l1x
Copy link
Member

f3l1x commented Apr 5, 2017

Well, thank you, but it's not really fix.

You said that you've already tried $form->addRecaptcha()->setRequired(TRUE)->setMessage('Are you bot?'); It's same code in your PR.

@sallyx
Copy link
Author

sallyx commented Apr 5, 2017

Yes, the last example works. This PR fixes first 3 issues and calls setRequired() automatically, which improves fourth issue too.

@f3l1x
Copy link
Member

f3l1x commented Apr 5, 2017

Oh, oukey. I will use your code a follow my codestyle. Thank you.

@f3l1x f3l1x closed this in cdf4123 Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants