We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to implement 2 reCaptcha on the same page of my laravel project.
I'm using your code from FAQ
{{ Form::open(['method' => 'POST'])}} {{ Form::captcha(['id' => 'captcha1']) }} {{ Form::submit('Submit form 1')}} {{ Form::close() }} {{ Form::open(['method' => 'POST']) }} {{ Form::captcha(['id' => 'captcha2')] }} {{ Form::submit('Submit form 2')}} {{ Form::close() }} {{ Captcha::scriptWithCallback(['captcha1', 'captcha2']) }}
And i got
trim() expects parameter 1 to be string, array given (View: /var/www/html/resources/views
Use {{ Form::captcha(['id' => 'captcha2')] }} in Laravel Project
{{ Form::captcha(['id' => 'captcha2')] }}
The text was updated successfully, but these errors were encountered:
It's {{ Form::captcha('captcha2') }} instead of {{ Form::captcha(['id' => 'captcha2']) }}.
{{ Form::captcha('captcha2') }}
{{ Form::captcha(['id' => 'captcha2']) }}
You're passing an array instead of string.
Sorry, something went wrong.
arcanedev-maroc
No branches or pull requests
Description:
I'm trying to implement 2 reCaptcha on the same page of my laravel project.
I'm using your code from FAQ
And i got
Steps To Reproduce:
Use
{{ Form::captcha(['id' => 'captcha2')] }}
in Laravel ProjectThe text was updated successfully, but these errors were encountered: