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

 How change listboxs "where" via radiobutton in php?

Print topic Send  topic

Author Message
rikk

Posts: 5
Posted: 10/20/2009, 9:07 AM

I would like to dinamically change the "where" clause for a listbox with radiobutton values, but I can not retrieve value from radiobbutton... Can somebody help? Thanks.
View profile  Send private message
datadoit
Posted: 10/20/2009, 12:44 PM

More info please. How are you attempting to get the RadioButton's value?
rikk

Posts: 5
Posted: 10/21/2009, 5:39 AM

Hi! For example when I have radiobutton :
<!-- BEGIN RadioButton RadioButton1 --><input id="NewRecord1RadioButton1_{RadioButton1:optionNumber}" value="{Value}" type="radio" name="{RadioButton1_Name}" {Check}><label for="NewRecord1RadioButton1_{RadioButton1:optionNumber}">{Description}         </label><!-- END RadioButton RadioButton1 --></td>

And now with the sellection on radiobutton I want to dynamically change the SQL for the following listbox:

<td>  <label for="NewRecord1ListBox1" style="display: none;">ListBox1  </label>
<select id="NewRecord1ListBox1" name="{ListBox1_Name}">
<option selected value="">{res:CCS_SelectValue}</option>
{ListBox1_Options}
</select>
</td>

I try "BeforeBuildSelect.." and "$NewRecord1->ListBox1->DataSource->Where = 'someparameter = somevalue';", the value for the r.b. I have from "GetValue(), but this adjust the SQL state only once time at the radiobutton defaut value. :(
How I can dynamically chenge this listbox?

Thank you in advance .
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.

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.