Search code examples
typo3captchatyposcriptspam-prevention

TYPO3 Spambot/Captcha for tx_form


I have search the internet for spambot/captcha plugin for tx_form. But i can't find any with a working ex. can someone help ?

I have the following code, i just need to know how i add spambot protection/captcha, and what Extension can i use with tx_form.

Im running TYPO3 v. 6.1.4

enctype = multipart/form-data
id = kontakt
method = post
prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = [email protected]
        senderEmail = [email protected]
                senderNameField = name
        subject = dfgdfg hjemmeside henvendelse.
                messages {
                     success = Vielen Dank für Ihre Anfrage! Wir werden uns umgehend mit Ihnen in Verbindung setzen.
                     error = Es ist ein Fehler aufgetreten. Bitte wenden Sie sich an den webmaster.
                }
    }
}
10 = TEXTLINE
10 {
    name = Navn
    label {
        value = Navn
    }
}
20 = TEXTLINE
20 {
    name = firma
    label {
        value = Firmanavn
    }
}
30 = TEXTLINE
30 {
    name = Telefon
    label {
        value = Telefon nr.
    }
}
40 = SUBMIT
40 {
    name = 5
    value = Send
}
rules {
    1 = digit
    1 {
        breakOnError = 1
        showMessage = 
        message = Du kan kun bruge numre.
        error = Et telefon nr. består typisk af cifre.
        element = Telefon
    }
    2 = length
    2 {
        breakOnError = 1
        showMessage = 
        message = Fejl i længden af telefon nr.
        error = Det indtastede nr. er mindre end de påkrævet 8 cifre.
        minimum = 8
        maximum = 0
        element = Telefon
    }
}

Solution

  • I don't believe there is any extension to do so.

    Use the powermail extension to create a more advanced form and add captcha using sr_freecap or using the captcha extension.