CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Changing from action page

Print topic Send  topic

Author Message
Superkikim
Posted: 08/08/2002, 1:23 AM

Hi,
Using CodeChargeStudio, I have a search form with 3 radio buttons.
If the user check the 1st radio button, I want the form to submit to the employees page within current project (page in codecharge studio)

If the user check the 2nd radio button, I want the form to submit for example to http://www.onedomain.com/search.asp?keyword={s_keyword}

If the user check the 3nd radio button, I want the form to submit for example to http://www.whatever.com/seek.cgi?q={s_keyword}


I've tried to make "On Submit" event, "client side On Click" event, "Server side On Click" event... and replacing HTMLFormAction to the required URL, none of them are working !

Please HELP....

Nicole
Posted: 08/08/2002, 6:45 AM

Hello,
you can modify the page name where the user will be redirected after the operation with db (insert/update/delete) is completed in Before Insert (Update, Delete, Cancel) events.
Here is example for PHP. Lets say you have selected "Default.php" as return page for the record form. This value is stored in $Redirect variable and you can replace it with any other in lets say Before Insert event:
global $Redirect;
$Redirect = "seek.cgi?";
Superkikim
Posted: 08/09/2002, 2:14 AM

Nicole, thank you for your advise.

But here is exactly the point: I would need to have a list of constant ASP variable in CodeChargeStudio. I mean:

What is the ASP variable for the redirect page ?
What is the ASP variable for the form action page ?

And also, what event can change the "form action page", because it seems to be design very late in the process.

I will post a message on support.codecharge.com

Akim

   


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

MS Access to Web

Convert MS Access to Web.
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.