CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Custom Variables via Post method

Print topic Send  topic

Author Message
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"

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

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.