CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 passing parameters from a list box

Print topic Send  topic

Author Message
YT
Posted: 01/07/2002, 12:16 PM

Can anyone assist?

I use Code Charge. I want to pass a parameter to the next page from the selected option in drop-down list but have failed to date. I'm using php4 however all the assistance so far has been an asp solution.

Has anyone found a solution to this problem?
Nicole
Posted: 01/08/2002, 2:10 AM

Hello,
in case you want to pass the parameter after you hit any button, i.e. after the form is submitted you should add the number of selected item to $sParams variable in any of form's events. I need more information to be able to get more detailed instructions. At least the form type you use. But rhe main code is:
$sParams .= "&id_field_name=" . $fldlistbox_field_name;

In case you want to redirect user to any page right after he selects any item from dropdown without hit a button you should use JavaScript code for listbox field "onchange" event. Add the code to Form/Footer section.
mike
Posted: 10/28/2003, 1:19 PM

Hi Nicole,

I want to pass a list box value to the next form? Could you show me how to do it?

Thanks.

   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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