Kummrow
|
| Posted: 06/27/2002, 8:29 PM |
|
Hello,
I am attempting to send an additional field with a record form. Given the value of that field (1-10) when the form reopens it needs to pull that value to be processed by a javascript conditional statement which performs a few actions based on that result.
I have been pulling out my hair for hours and can't get it to work.
It seems that I can not pull that variable with getparam("CustAction") or Request("CustAction"). Again I need to use the method post. Please send me help.
|
|
|
 |
Ian Davis
|
| Posted: 06/27/2002, 9:29 PM |
|
I think the problem here is that records forms are first submitted to themselves when you click the submit buttons. The submitted values are processed on the server side and inserted into the database and then the page is redirected to the next page. To technically, the post values are available until the form is processed on the server but after the redirection, the values are no longer there.
What I do when using CodeCharge 2.0 is to write some code in the After Insert event to append the value to the URL that is used for redirection i.e.
sActionFileName = sActionFileName & "?param1=someValue"
|
|
|
 |
|