STEVE
|
| Posted: 09/09/2002, 3:24 PM |
|
I need to add a parameter to the form (POST) using PHP code. I don't want the parameter
to appear in the URL because it is a long text string. I need to do this using PHP code,
probably using $Redirect variable?
The tutorial, surprisingly enough does not talk about Post. The Help file is a bit confusing
and was of limited use because there weren't enough working examples.
So how can I use PHP code to add or remove parameters that will be posted to
another form? Does anyone know? TIA
STEVE
|
|
|
 |
Headhunter
|
| Posted: 09/10/2002, 5:12 AM |
|
I need the same thing, but want the parameter to apear in the url.
|
|
|
 |
STEVE
|
| Posted: 09/10/2002, 1:29 PM |
|
I'm still churning my wheels on this one. (CCS)
How do I add a long text value to the set of variables being POST'd to the form
using code in an event? Changing the url variables is relatively easy with $Redirect
but where is the CCS variable for POST???
The documention doesn't have much info on Posting. TIA
|
|
|
 |
Brent
|
| Posted: 09/10/2002, 2:34 PM |
|
I haven't solved this one either. The URL is easy enough to manipulate but not adding to the POST variables.
|
|
|
 |
Nicole
|
| Posted: 09/14/2002, 4:19 AM |
|
Hello,
I suppose you want this feature for Search action.
To pass parameters via POST method two small modifications on the existing forms are required:
1). on the existing search form. Open HTML editor and modify <form> tag to include the page name into action attribute:
<form name="NewRecord1" action="SearchTest.asp" method="POST">
2). on the Grid form. Open Table Parameters in Data Source dialog and change parameter type from URL to Form.
OR
1). make sure that POST method is selected for the search form;
2). select search button on the search form and remove Search operation from the Operation field in its properties. Just leave it blank.
3). create server side OnClick event for the search button and place the following code there:
global $Redirect;
$Redirect = "";
4). open Table Parameters dialog of the Grid form and change parameter type from URL to Form.
|
|
|
 |