Developers

License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Advanced Configuration

The app.yml file that comes packaged with the plugin shows all of the
configuration options:

Most notably, you can automatically enable recaptcha on any form by
specifying the form class in app.yml. If you do this, you won't need
to call embedRecaptcha() from within your form:

all:
recaptcha:
forms:
myProductForm: true

Common Problems

If you receive the error "Call to undefined method testForm::embedRecaptcha.",
then either:

The plugin is not installed or enabled.

Your form extends only sfForm. It must extend sfFormSymfony. If
your form is a Doctrine or Propel form, or your form extends BaseForm,
then this is not the problem.

If you receive the error "You must specify the recaptcha public and
private key in your sympal configuratio", then you need to specify your
reCAPTCHA configuration in app.yml. See the Configuration section above.

The Fine Details

This plugin was taken from sympal CMF and was
developed by both Jon Wage and Ryan Weaver.