plainblack.com
Username Password
search
Bookmark and Share

    

Data Form Captcha

User kurzo
Date 1/5/2009 10:42 am
Views 1197
Rating 0    Rate [
|
]
Previous · Next
User Message
kurzo

I have built a data form that submits its information correctly, but would like to implement a captcha system.

In the form properties, I have selected 'Yes' to: 'Use Captcha for Visitors?' But a captcha never shows.

Has anyone else ever experienced this? What should I check to ensure captchas work?

 

thank

--- (Edited on 1/5/2009 10:42 am [GMT-0600] by kurzo) ---



Back to Top
Rate [
|
]
 
 
rogier

The capcha will not be visible to registered users, since it is not necessary for them. If you are logged in as Admin, you are in the group "registered users", so you won't be able to see it.

If you log out it should be visible. If not, the captcha code must be wrong or missing in the template.

 

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl

--- (Edited on 05-01-2009 17:57 [GMT+0100] by rogier) ---



Back to Top
Rate [
|
]
 
 
kurzo

Thanks for the quick reply :)


I have logged out and it was still missing - I saw that it was missing from the template, so I added to the form just above the submit buttons:

<tmpl_var form.captcha><br />


Is that how it is implemented? It still does not show - even a view source of the page shows no code in that area...

thanks again for the response

--- (Edited on 1/5/2009 11:19 am [GMT-0600] by kurzo) ---

--- (Edited on 1/5/2009 11:22 am [GMT-0600] by kurzo) ---

--- (Edited on 1/5/2009 11:25 am [GMT-0600] by kurzo) ---



Back to Top
Rate [
|
]
 
 
rogier

Thanks for the quick reply :)


I have logged out and it was still missing - I saw that it was missing from the template, so I added to the form just above the submit buttons:

<tmpl_var form.captcha><br />


Is that how it is implemented? It still does not show - even a view source of the page shows no code in that area...

thanks again for the response

I think it should be <tmpl_var form_captcha>.

The help lists <tmpl_var form.captcha> (in 7.6.3 beta), but that doesn't work. I don't know wich version of WebGUI you have, but that might be the problem.

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl

--- (Edited on 05-01-2009 18:50 [GMT+0100] by rogier) ---



Back to Top
Rate [
|
]
 
 
kurzo

I checked an older template and found this:

<tmpl_if useCaptcha>

          <tr>

                   <td class="formDescription">^International('template captcha label','Asset_DataForm');</td>

                   <td class="tableData" valign="top"><tmpl_var form_captcha></td>

          </tr></tmpl_if>

 

I think I am on the right track now :)

 

 

--- (Edited on 1/5/2009 12:07 pm [GMT-0600] by kurzo) ---



Back to Top
Rate [
|
]
 
 
rogier

I checked an older template and found this:

<tmpl_if useCaptcha>

          <tr>

                   <td class="formDescription">^International('template captcha label','Asset_DataForm');</td>

                   <td class="tableData" valign="top"><tmpl_var form_captcha></td>

          </tr></tmpl_if>

 

I think I am on the right track now :)

 

 

--- (Edited on 1/5/2009 11:53 am [GMT-0600] by kurzo) ---

I do believe you are.

 

Rogier | United Knowledge
www.unitedknowledge.nl · www.webgui-help.nl

--- (Edited on 05-01-2009 19:03 [GMT+0100] by rogier) ---



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved