ReCaptcha Field (create acount)
# app/config/config.yml
genemu_form:
recaptcha:
public_key: `your public key is required`
private_key: `your private key is required`
You can define a static code for your test environment:
# app/config/config_test.yml
genemu_form:
recaptcha:
validation:
code: 1234
<?php
// ...
public function buildForm(FormBuilder $builder, array $options)
{
$builder
// ...
->add('captcha', 'genemu_recaptcha');
}