[pmwiki-users] fox: captcha for specific forms
noskule
noskule at gmx.net
Tue Mar 11 11:04:20 CDT 2008
Hans schrieb:
> Tuesday, March 11, 2008, 3:01:47 PM, Hans wrote:
>
>
>> (:foxcheck response if='captcha' msg='Wrong Captcha':)
>>
>
>
hm, seams not to help, I allways get "Please enter valid input!" See:
http://netstreams.org/devel/skintest/index.php/Main/WikiSandbox
Do you see the problem? It also makes no difference if I include
captcha.php bevor or after fox . ..
[[Main/WikiSandbox?action=edit]]
----
>>system_color<<
(:messages:)
>><<
(:fox testform redirect=1:)
(:foxptv {*$FullName} foxfields=TestField:)
(:input default source={*$FullName}:)
(:input text name=$:TestField:)
(:if ! authid:)
{$Captcha} (:input captcha:) Captcha
(:foxcheck response if='!captcha' msg='Wrong Captcha':)
(:ifend:)
(:input submit post:)
(:foxend testform:)
(:TestField: 3333:)
> 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