CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Redirect Question

Print topic Send  topic

Author Message
will

Posts: 88
Posted: 05/27/2009, 5:34 PM

I have a record on my page and in it theres a hidden field how can i redirect a page if the number in that hidden field is 1
View profile  Send private message
aondecker

Posts: 58
Posted: 05/28/2009, 4:21 AM

on the corresponding event (i.e after submit, after insert, etc.), you can do the following custom code.
  
if($formname->fieldname->GetValue()==1)  
{  
global $Redirect;  
  
$Redirect = "yourpage.php";  
  
}   
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.