CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Hiding Forms with using Templates

Print topic Send  topic

Author Message
JCF
Posted: 04/09/2002, 8:47 AM

Hi All

Is there a way to hide a Form if I am not using Templetes.

I am using MySQL and PHP but not with the Templates.

Thanks for any help

JCF

Alexey Alexapolsky
Posted: 04/10/2002, 12:39 AM

Put php code into Form/Header&Footer section , e.g.

header : <? if ($condition) {

footer : ?>

so , if condition is false, form is not shown


--
Alex
CodeCharge Developer


"JCF" <jcf@mail.org> wrote in message
news:a8v2dp$r5o$1@news.codecharge.com...
> Hi All
>
> Is there a way to hide a Form if I am not using Templetes.
>
> I am using MySQL and PHP but not with the Templates.
>
> Thanks for any help
>
> JCF
>
>

JCF
Posted: 04/10/2002, 10:31 AM

Thanks for the reply

I have tried as you post but there still is errors?

This is the code generated:

<? if ($fldNUM){
<?php Form1_show() ?>
}
?>

I added the '}' to your code but it still will not work?

Any ideas?

Thanks

JCF

"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:a90q73$aca$2@news.codecharge.com...
> Put php code into Form/Header&Footer section , e.g.
>
> header : <? if ($condition) {
>
> footer : ?>
>
> so , if condition is false, form is not shown
>
>
> --
> Alex
> CodeCharge Developer
>
>
> "JCF" <jcf@mail.org> wrote in message
>news:a8v2dp$r5o$1@news.codecharge.com...
> > Hi All
> >
> > Is there a way to hide a Form if I am not using Templetes.
> >
> > I am using MySQL and PHP but not with the Templates.
> >
> > Thanks for any help
> >
> > JCF
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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