Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
no-captcha
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
CENTER-TBI
no-captcha
Commits
f138a6fd
Commit
f138a6fd
authored
Aug 03, 2018
by
Nico Stapelbroek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme with Invisible reCAPTCHA
parent
61dd6705
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
README.md
README.md
+8
-0
No files found.
README.md
View file @
f138a6fd
...
@@ -84,6 +84,14 @@ With [custom attributes](https://developers.google.com/recaptcha/docs/display#re
...
@@ -84,6 +84,14 @@ With [custom attributes](https://developers.google.com/recaptcha/docs/display#re
{
!!
NoCaptcha
::
display
([
'data-theme'
=>
'dark'
])
!!
}
{
!!
NoCaptcha
::
display
([
'data-theme'
=>
'dark'
])
!!
}
```
```
Invisible reCAPTCHA using a
[
submit button
](
https://developers.google.com/recaptcha/docs/invisible
)
:
```
php
{
!!
NoCaptcha
::
displaySubmit
(
'my-form-id'
,
'submit now!'
,
[
'data-theme'
=>
'dark'
])
!!
}
```
Notice that the id of the form is required in this method to let the autogenerated
callback submit the form on a successful captcha verification.
#### Validation
#### Validation
Add
`'g-recaptcha-response' => 'required|captcha'`
to rules array :
Add
`'g-recaptcha-response' => 'required|captcha'`
to rules array :
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment