CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hiding Forms

Print topic Send  topic

Author Message
Julius

Posts: 6
Posted: 04/28/2004, 2:10 PM

Hello
I'm looking for a solutuion:

I have
a grid form 'mygrid'
a record form 'myrecord'
and another recordform 'submitform'.

1. Step
Entering the page
'mygrid' is not visible since it has no records
'myrecord' is visible since it submits its data to 'mygrid'
'submitform' is not visible since its not yet needed because the gridform
does not contain any data yet.
2. Step
'myrecord' submits the data to 'mygrid'
'mygrid' is visible since it contains records now.
'myrecord' becomes hidden
'submitform' becomes visible
3. Step
'mygrid' has a button 'Enter New Record'
and by clicking
'myrecord' becomes visible in insert mode
'submitform' becomes hidden.
or in 'mygrid' by clicking on the href link
'myrecord' becomes visible in edit mode
'submitform' becomes hidden.

Step 1 and 2 I manage.
Step 3 I don't get working.

Any smart suggestions

Thanks a lot

Jule

View profile  Send private message
martin
Posted: 05/02/2004, 10:42 AM

Hello.
You can add Form1Hide=on&Form2Hide=off by click on 'Enter New Record' Button and then you can Visible your Forms in before show from a Form like:
if(CCGetFromGet("Form1Hide, "") == "on")
$YourForm->Visible = false; // or true

I hope it helps
martin

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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