|
|
Sergey Kornilov admin 10/6/2010 |
|
You need to use Javascript API for this purpose: |
|
|
K
|
karmacomposer author 10/6/2010 |
|
You need to use Javascript API for this purpose: http://xlinesoft.com/phprunner/docs/javascript_api.htm Check 'Show dropdown list of US states if US was selected in country list' example.
|
|
|
K
|
karmacomposer author 10/7/2010 |
|
OK, so I have a dropdown at the start of the form. You can choose to be SWT or CC. |
|
|
|
Sergey Kornilov admin 10/7/2010 |
|
Mike, |
|
|
S
|
smith 10/8/2010 |
|
Dear admin Mike, you need to take a closer look at this example: http://xlinesoft.com/phprunner/docs/show_dropdown_list_of_us_states.htm If you are looking for a way to show or hide one of controls based on value of another control - you have to start by creating variables for both controls. |
|
|
|
woodey2002 10/8/2010 |
|
Hi Smith |
|
|
S
|
smith 10/8/2010 |
|
Thank you James, But the code is not working Hi Smith ----------- if (ctrl"your control name".getValue()=='on'){ ----------- Hope this helps, James Phprunners No1 Fan |
|
|
A
|
ann 10/8/2010 |
|
Smith, if (ctrlCountry.getValue()=='on'){ |
|
|
S
|
smith 10/8/2010 |
|
NO LUCK, Smith, here is the correct syntax for the line: if (ctrlCountry.getValue()=='on'){ |
|
|
A
|
ann 10/8/2010 |
|
Smith, |
|