This topic is locked

Strange issue with check boxes

6/13/2025 5:01:26 AM
PHPRunner General questions
A
anthonywalker author

Hi Guys,

I have a strange issue with check boxes.

Its only showing 1 of the checkboxes when in list or export view. If I click edit it shows them as they were clicked but not on list or export.

For example this is the edit view:

img alt

this is the list view:

img alt

If I export to excel it shows the same as the list view which is wrong.

Any ideas whats going on?
Thank in advance
Anthony

ChatGPT 6/13/2025

Hi Anthony,

It sounds like you're experiencing an issue with how the checkbox values are being displayed in the list and export views in PHPRunner. Here are a few steps you can take to troubleshoot and resolve the issue:

  1. Check Field Settings: Make sure that the field settings for the checkbox in your database are correctly configured. Ensure that the field type is set to "Checkbox" and that the options are properly defined.


  2. List View Settings: In PHPRunner, navigate to the "List" view settings for the specific table. Check if the checkbox field is properly added to the list view. Sometimes, if the field is not included in the list view, it can lead to incorrect displays.


  3. Display Format: Ensure that the display format for the checkbox field in the list view is set to show the values correctly. You may need to customize the formatting to display multiple checkbox values (e.g., concatenating the selected values).


  4. Export Settings: Similarly, check the export settings for the table. Ensure that the checkbox field is included in the export configuration and that it is set to export the values correctly.


  5. Database Values: Check the actual values stored in the database for that field. If the values are not being populated correctly (e.g., as a string or integer rather than a boolean), it could lead to display issues.


  6. PHP Code Customization: If you’re comfortable with PHP, you may need to customize the code that handles displaying checkbox values in the list and export views. Look for the relevant code sections in the generated files and modify them to concatenate or format the checkbox values as needed.


  7. Updates and Patches: Ensure that you’re using the latest version of PHPRunner. Sometimes, bugs are fixed in newer releases, so it’s worth checking for any updates or patches.


  8. Consult Documentation & Support: If none of the above steps resolve the issue, consider checking the PHPRunner documentation or reaching out to their support forum. They may have specific solutions for similar issues.



Hopefully, one of these suggestions will help you resolve the issue with the checkbox display in your PHPRunner project.

Best of luck!

Anthony

A
anthonywalker author 6/13/2025

Just further testing and Ive noticed even if I click Howa it still only shows Marlin in the view...