MAC
|
| Posted: 07/12/2002, 8:19 AM |
|
I'm using codecharge studio 1.0, I'm creating an ASP app, I've a page with 3 forms, but would like to show only a specific form depending on the user id. I've saw an article that discuss about this topic, but I don't know hoe to create an open page event in CCS1 and everytime that I tried to use the SetVar function a get the following error "SetVar is not defined", my page includes the Template.asp.
Can some one help me on this, please?
MAC
|
|
|
 |
Chris K.
|
| Posted: 07/12/2002, 10:41 AM |
|
The tip you mention was for CC probably. To hide a form in CCS use:
<formname>.Visible=false
in the BeforeShow event.
|
|
|
 |
Mike
|
| Posted: 07/12/2002, 11:28 AM |
|
<Topic Visible property>
<Author Chris K. >
<Date Created 7/12/02 10:41:56 AM >
<Message The tip you mention was for CC probably. To hide a form in CCS use:>
<>
<<formname>.Visible=false>
<>
<in the BeforeShow event. >
I tried this and ended up getting a "variable is undefined" for <formname>. I have been playing with this for four days... please help.
|
|
|
 |
MAC
|
| Posted: 07/12/2002, 2:56 PM |
|
Chris;
Thanks for your help !!!
|
|
|
 |
Chris K.
|
| Posted: 07/13/2002, 10:25 AM |
|
Just replace those <formname> with name of the form you want to hide. If the form name is SampleForm, instruction to hide it is:
SampleForm.Visible = false
I hope it is clear now...
|
|
|
 |
|