Dynamic fields not working in Version 11 |
12/13/2025 13:07:24 | |
| PHPRunner General questions | ||
|
D
DealerModules authorDevClub member
This all started with article from a few years back. Implemented and worked great. I was using Dynamic Fields in version 10.9, switched to 11.1 and it is partially working. Tried the upgrade to version 11.2 and still not working. Is there something different with Version 11 vs. Version 10.9 that would cause this? My Events / View page / Before display code: My Events / View page / After table initialized code: Don't know if some of these functions were dropped in Version 11.1. Thanks for any direction. Paul |
||
|
|
ChatGPT 12/13/2025 |
|
Hi Paul, It seems you're encountering issues with PHPRunner after upgrading from version 10.9 to 11.1 and then to 11.2, particularly with the dynamic fields setup that previously worked well. Let's break down the potential causes and solutions for the problems you're facing. Changes Between VersionsPHPRunner does undergo changes and improvements between versions, which can sometimes affect custom code. While the specific changes between 10.9 and 11.x may not be extensively documented, here are a few suggestions to verify and troubleshoot your current implementation:
Code ReviewYour code looks generally correct, but ensure that you are using the right keys for
I hope this helps you troubleshoot the issue! If you have further questions or need more assistance, feel free to ask. |
|
|
|
Sergey Kornilov admin 12/13/2025 |
|
This is code is not supposed to work in version 11. It doesn't use APIs but relies on internal project structures like $tables_data that no longer available in version 11. This code needs to be re-written to use APIs for functionality like hiding fieldsm making then required and settings fields labels. Here are respective links in the manual: Hide a field: Make field required: Settings field label: |
|