[SOLVED] Reload dependednt dropdown |
9/4/2025 3:17:44 PM |
PHPRunner General questions | |
D
digital ant author
Running v11.1 Using this guide from the PHP Runner tips and tricks: https://asprunner.com/forums/topic/22826-how-to-update-details-table-while-editing-master-record To update a dropdown field. The process works. This same detailspage has another dropdown field that is a dependent on the field being updated by the javascrip above. I have tried watching the field update from the details page by adding various jquery event triggers in the details page, add page events (like change, blur, keyup, etc), but none of them work. I've seen a few people with the same question, has anyone found a way to refresh or reload a depended drop down using this master/detail field update process? |
|
D
|
digital ant author 9/4/2025 |
Please delete this duplicate. the original post gave me a server error, i didn't realize it still created it |
![]() |
Sergey Kornilov admin 9/4/2025 |
Check this article: Besides other things it explains how to reload the dependent dropdown box from your code. |
D
|
digital ant author 9/5/2025 |
I have implemented the field actions, and the dependent dropdown does refresh but only when editing on the detail record. here is what I have:
This is an Add New pop-up form, therefore there is no master record to query. The master has many fields, I am focusing on the last one, Topic Category. I will hide the Topic Category field on the details table once I get this working. Because the the master record is being created and there is nothing to query or pass in a session variable yet, I have followed this guide: I created dependent drop downs on the details table, but they do not see the "change" event to trigger a field reload The code in the article here: I hope that makes sense. |
D
|
digital ant author 9/5/2025 |
Sergey, as soon as I posted the last reply, I realized the method in your last link would work across master/detail. I added it to the detail page category field and it was still not working. I moved the field events to the category field on the master page and the dependent field is working now! Thank you for the link! On to the next challenge of setting the default for all subsequent adds! |