[TYPO3-english] sr_feuser_register with captcha

Patrik paprikb at gmail.com
Tue Jan 27 10:01:10 CET 2009


How to use captcha in ext. sr_feuser_register?

TS Constants:
plugin.tx_srfeuserregister_pi1.formFields =
password,password_repeat,first_name,email
plugin.tx_srfeuserregister_pi1.requiredFields = username,email,first_name

plugin.tx_srfeuserregister_pi1.create.evalValues.captcha_response = captcha
plugin.tx_srfeuserregister_pi1._CSS_DEFAULT_STYLE >
plugin.tx_srfreecap_pi2._CSS_DEFAULT_STYLE >

Template:
<!--###SUB_INCLUDED_FIELD_captcha_response###-->
    <div class="tx-srfeuserregister-pi1-captcha-response">
        <label
for="tx-srfeuserregister-pi1-captcha-response">###SR_FREECAP_NOTICE###</label>
        ###SR_FREECAP_CANT_READ###
        <br />
        <!-- ###SUB_ERROR_FIELD_captcha_response### -->
        <p
class="tx-srfeuserregister-pi1-error">###EVAL_ERROR_FIELD_captcha_response###</p>
        <!-- ###SUB_ERROR_FIELD_captcha_response### -->
        <input type="text" size="15"
id="tx-srfeuserregister-pi1-captcha-response"
name="###NAME_CAPTCHA_RESPONSE###" title="###SR_FREECAP_NOTICE###" value="">
        ###SR_FREECAP_IMAGE###
    </div>
    <!--###SUB_INCLUDED_FIELD_captcha_response###-->

Regards,
Patrik


More information about the TYPO3-english mailing list