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