CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Dynamically Hide a Captcha

Print topic Send  topic

Author Message
datadoit
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 http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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