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

API Re-introduced ability to insert spam field before another existing field #13

Merged
merged 1 commit into from
Mar 7, 2014

Conversation

tractorcow
Copy link
Contributor

I was updating an old site to use the new spam protector module, when I realised that the ability to specify the "insert before" field when adding the captcha field has been removed.

I've reintroduced this option with tests and documentation. :) To be careful, I've added a check to ensure the field you specify exists. The module will fallback to adding to the end if it doesn't.

@wilr
Copy link
Member

wilr commented Mar 7, 2014

Thanks @tractorcow. My sort of api, tested and documented :)

wilr added a commit that referenced this pull request Mar 7, 2014
API Re-introduced ability to insert spam field before another existing field
@wilr wilr merged commit 39f7f0b into silverstripe:master Mar 7, 2014
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

Successfully merging this pull request may close these issues.

2 participants