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