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.
|
|
|
|