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

Invalid field name in your documentation #6

Open
rhollins opened this issue Apr 15, 2013 · 1 comment
Open

Invalid field name in your documentation #6

rhollins opened this issue Apr 15, 2013 · 1 comment

Comments

@rhollins
Copy link

You write time_field_name and than field_name_time

Think rules should look like this

    'honey_field_name'  => 'honeypot',
    'time_field_name'   => 'required|honeytime:5'

and than form like this:

{{ Form::honeypot('honey_field_name', 'time_field_name') }}

@sschimmel
Copy link

You are supposed to change the field names to something that suits your site. When you do, you have to change the Form::honeypot tag and the validation. The documentation doesn't mention this. Not changing the field names make it easy for the bots to detect the honeypot input field as it's mentioned in the name.

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