CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Dynamically Hide a Captcha

Print topic Send  topic

Author Message
Posted: 02/16/2011, 5:45 PM

Not in the documentation, but it can be done. You can dynamically hide
a Captcha control via the Page's After Initialize event. It's important
to hide it in the Page's After Initialize so that validation doesn't
occur on the Captcha field that's not visible!

A common use for this would be to display the Captcha only for users
that aren't logged in, such as on a blog.

if (!CCGetUserID()) {
$Container->YourRecordForm->Captcha->Visible = false;

Thanks to CCS support for help on figuring this out.

Add new topic Subscribe to topic   

These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.