phpwebmonkey
|
| Posted: 10/07/2002, 1:53 PM |
|
in my "page after initalize" event i have this custom code:
global $form_answers;
$form_answers->Visible = false;
note: once it works i will wrap in the conditional statement but for now i just want to make the form not visible.
i have verified spelling as well.
thoughts?
|
|
|
 |
phpwebmonkey
|
| Posted: 10/07/2002, 3:22 PM |
|
actually the problem comes when this pages gets included on another page. freestanding, it works just fine.
|
|
|
 |
phpwebmonkey
|
| Posted: 10/07/2002, 3:51 PM |
|
found the answer. since my page was being included, i had to add the global page variable.
global $page_name;
global $grid_name;
if($condition)
{
$page_name->grid_name->Visible = false;
}
|
|
|
 |
|