ckroon
Posts: 869
|
| Posted: 07/21/2007, 10:35 PM |
|
I have scoured the docs and the forum, tried 5 different methods to do this simple thing.. with no results.
I want to have the record hidden when the user first gets to the page, appearing only when clicking on the link to open it, then after submit/insert, it disappears again.
Thanks!
_________________
Walter Kempees...you are dearly missed. |
 |
 |
Damian Hupfeld
|
| Posted: 07/22/2007, 5:04 AM |
|
why are you making it so complicated?
if you are clicking on a link why not have the link take you to a new page
and have the form return page be the original page?
if you really want to do it your way stick the form in a panel.
set the panel visibility to hidden.
set the link to be something like mypage.php?myform=show
set a BeforeShow event on the panel somthing like this -
global $myvalue;
$mylink = CCGetParam("myform", $myvalue);
if ($mylink == 'show') {
$mypanel->Visible = true;
}
else {
$mypanel->Visible = false;
}
make sure you remove parameters on your form submit.
Damian
"ckroon" <ckroon@forum.codecharge> wrote in message
news:546a2ecb59e6db@news.codecharge.com...
>I have scoured the docs and the forum, tried 5 different methods to do this
> simple thing.. with no results.
>
> I want to have the record hidden when the user first gets to the page,
> appearing only when clicking on the link to open it, then after
> submit/insert,
> it disappears again.
>
> Thanks!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
ckroon
Posts: 869
|
| Posted: 07/22/2007, 11:21 AM |
|
Thank you!
_________________
Walter Kempees...you are dearly missed. |
 |
 |
Damian Hupfeld
|
| Posted: 07/23/2007, 5:39 AM |
|
For what? What method did you choose?
"ckroon" <ckroon@forum.codecharge> wrote in message
news:546a3a00d3b0ae@news.codecharge.com...
> Thank you!
>
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
ckroon
Posts: 869
|
| Posted: 07/23/2007, 9:08 AM |
|
Thanks for both. I used both. Redirected to another page where it deemed appropriate, hid the record until called on the others.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
|