# Kontaktformular Captcha abschalten

**URL:** https://forum.shopware.com/t/kontaktformular-captcha-abschalten/6652
**Category:** Shopware 3.5
**Tags:** general
**Created:** [28. März 2012 um 20:56 UTC](https://forum.shopware.com/t/kontaktformular-captcha-abschalten/6652 "2012-03-28T20:56:19Z")
**Posts on this page:** 2
**Page:** 2

<div class="post-metadata">

### Author: ![wosproductions](https://avatars.discourse-cdn.com/v4/letter/w/a88e4f/32.png) [@wosproductions](https://forum.shopware.com/u/wosproductions)
#### Post date: [1. Dezember 2016 um 17:00 UTC](https://forum.shopware.com/t/kontaktformular-captcha-abschalten/6652/21 "2016-12-01T17:00:51Z")

</div>

> [@kuerbis schrieb:](https://forum.shopware.com/profile/18196/kuerbis "kuerbis")
> 
> Die einfachste Möglichkeit das Captcha zu deaktivieren ist die Farbe in den Stammdaten leer zu machen. Dadurch wird im Backend keine Validierung mehr gemacht. Siehe folgenden Code:
> 
> if (!empty(Shopware()-\>Config()-\>CaptchaColor)) { $captcha = str\_replace(’ ', ‚‘, strtolower($this-\>Request()-\>sCaptcha)); $rand = $this-\>Request()-\>getPost(‚sRand‘); if (empty($rand) || $captcha != substr(md5($rand), 0, 5)) { $this-\>\_elements[„sCaptcha“][‚class‘] = " instyle\_error"; $this-\>\_errors[„e“][„sCaptcha“] = true; } }
> 
> Das Captcha ist dann zwar noch im Formular vorhanden wird aber nicht mehr validiert. Das heisst man kann es einfach per CSS ausblenden.

Mit was für einem COde hast du die Captcha Datei dann im CSS ausgeblendet?

Schade das hier Shopware nicht Alternativen anbietet. reCAPTCHA / captcha / und nichts.

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [1. Dezember 2016 um 21:30 UTC](https://forum.shopware.com/t/kontaktformular-captcha-abschalten/6652/22 "2016-12-01T21:30:20Z")

</div>

> Schade das hier Shopware nicht Alternativen anbietet. reCAPTCHA / captcha / und nichts.

Kommt doch alles mit der 5.3. Jedenfalls der Captcha Service&nbsp;[https://github.com/shopware/shopware/tree/5.3/engine/Shopware/Components/Captcha](https://github.com/shopware/shopware/tree/5.3/engine/Shopware/Components/Captcha)

Also noch etwas Geduld&nbsp; ![Wink](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/b3785da0cbf2c8566cb535dcf55b2730b5224899.png "Wink")

[Vorherige Seite](https://forum.shopware.com/t/kontaktformular-captcha-abschalten/6652.md?page=1)
