This topic is locked

Dependent Dropdown with Parent Code Blank

5/29/2012 11:17:39 AM
PHPRunner General questions
T
Tricause author

On the latest build of PHPRunner (as with the older builds), I noticed the following issue pertaining to two dependent dropdown fields. If I make one of the fields dependent on the first, the second list will not always properly update the selectable options when the first field happens have the empty string selected. Note that when the page is initially loaded, the proper dependent values are shown when an empty string parent code is present; however, when I change the current selection of the parent code, and switch it back to the empty string, I only get "please select" as an option in the dependent dropdown, instead of the ones shown when the page initially loaded.
Any work around solution would be appreciated.

W
wildwally 5/30/2012



On the latest build of PHPRunner (as with the older builds), I noticed the following issue pertaining to two dependent dropdown fields. If I one of the fields dependent on the first, the second list will not always properly update the selectable options when the first field happens have the empty string selected. Note that when the page is initially loaded, the proper dependent values are shown when an empty string parent code is present; however, when I change the current selection of the parent code, and switch it back to the empty string, I only get "please select" as an option in the dependent dropdown, instead of the ones shown when the page initially loaded.
Any work around solution would be appreciated.


I'm noticing the same thing. In order to get it to populate correctly I have to select another entry then go back and select the entered value to get my dependant field to populate. I found my instance when trying to load values into dropdown fields when a user presses a button. I know the code works, but the first field is causing problems for the remaining two fields to populate. If I change the fields to AJAX entry everything works fine, and all 3 fields values are set. But if changed back to dropdown fields only the 1st field get a value set the remaining 2 say please select and that's it.