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.
|
|
|
|