[pmwiki-users] fox: captcha for specific forms

Hans design5 at softflow.co.uk
Tue Mar 11 10:31:46 CDT 2008


Tuesday, March 11, 2008, 3:01:47 PM, Hans wrote:

> (:foxcheck response if='captcha' msg='Wrong Captcha':)

The condition is wrong. It should be if='!captcha' :


    (:fox testform:)

    (:if ! authid:)
    (:foxcheck response if='!captcha' msg='Wrong Captcha':)
    Enter value {$Captcha} (:input captcha
    class=inputtext:)(:foxmessage testform response:)
    (:foxcheck access if='captcha' msg='Wrong Captcha':)
    (:ifend:)

    (:input submit post:)
    (:foxend testform:)


  ~Hans




More information about the pmwiki-users mailing list