List of checkboxes based on depselect values

15 views
Skip to first unread message

Peter De Bodt

unread,
Mar 15, 2026, 9:27:17 AM (3 days ago) Mar 15
to Xataface
Hello
I have 3 tables:
- branches (branch_id, branch_name)
- building_components (building_component_id, branch_id, code)
- rooms (roomd_id, building_component_id, room_number)

I created a depselect for the branches and building_components table, but now I want to add a field 'rooms' which shows in checkboxes the rooms which are related to the chosen building_component.
Is this possible ? When showing it in a select option list, it works, but i can't get it working with checkboxes.

any suggestions or help would be appreciated

kind regards
Peter

Steve Hannah

unread,
Mar 15, 2026, 10:31:11 AM (3 days ago) Mar 15
to xata...@googlegroups.com
I have added new support for checkboxes in the depselect module.  If you update to that, and follow the directions in the readme, it should work for you 

https://github.com/shannah/xataface-module-depselect

image.png

--
You received this message because you are subscribed to the Google Groups "Xataface" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xataface+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xataface/1304c477-b444-4a3b-aecf-8a4a2b5e1166n%40googlegroups.com.


--
Steve Hannah
Web Lite Solutions Corp.

Peter De Bodt

unread,
Mar 16, 2026, 9:55:29 AM (2 days ago) Mar 16
to Xataface
Thanks a lot Steve! 
I forgot to mention that I have a relationship between table projects and table rooms , made with a table project_rooms which contains project_id and room_id as primary keys.
In the relationship.ini in the projects table folder I got:
[rooms]
project_rooms.project_id = "$project_id"
project_rooms.room_id = rooms.room_id

I read in the readme that values are stored as comma-seperated string, but my goal is to save the selected room_id's in the project_rooms table as seperated rows.
It seems that this isn't possible ?

kind regards
Peter

Op zondag 15 maart 2026 om 15:31:11 UTC+1 schreef st...@weblite.ca:
Reply all
Reply to author
Forward
0 new messages