You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backend request will receive a value for 'g-recaptcha-response'.
288
+
352
289
Go to /index and click submit button on contact us form and you should see an error message that 'Score does not meet the treshhold' because the threshold >2. You can play around the controller to see all outcomes. Importantly, you need to wait the script to be loaded before clicking the submit button.
353
290
291
+
### Badge Display
292
+
293
+
If your settings were not reflected, please run php artisan config:cache to clear cache.
294
+
295
+
Inline
296
+
297
+
1. Go to config file, and set
298
+
```PHP
299
+
[
300
+
...
301
+
'inline' => true
302
+
...
303
+
]
304
+
```
305
+
2. Badge will be displayed as inline format within the form.
306
+
307
+
308
+
Invisible
309
+
310
+
1. Set inline as true as well
311
+
2. Modify your div with style display:none
312
+
3. Refer to Google official site: https://developers.google.com/recaptcha/docs/faq
313
+
, you need to include the following text:
314
+
```HTML
315
+
This site is protected by reCAPTCHA and the Google
316
+
<ahref="https://policies.google.com/privacy">Privacy Policy</a> and
317
+
<ahref="https://policies.google.com/terms">Terms of Service</a> apply.
318
+
```
319
+
320
+
Corner
321
+
322
+
1. Set inline as false
323
+
2. Your badge will be shown in the bottom right side.
324
+
325
+
Custom
326
+
327
+
1. Set inline as true
328
+
2. Do Styling/CSS on its div element
329
+
330
+
354
331
## Vue Usage (Pacakge version >= 2.2.0) <aname="vue-usage" />
355
332
356
333
The package provides a lightweight vue component. You need to publish the vue component before playing around it.
0 commit comments