{"id":42044171,"url":"https://github.com/lsgs/redcap-choice-columns","last_synced_at":"2026-01-26T06:05:41.802Z","repository":{"id":199170135,"uuid":"701151856","full_name":"lsgs/redcap-choice-columns","owner":"lsgs","description":"REDCap external module for the action tag @CHOICE-COLUMNS=? used to specify the number of columns a radio or checkbox field's choices are displayed in.","archived":false,"fork":false,"pushed_at":"2023-10-12T02:10:26.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-12T19:58:43.650Z","etag":null,"topics":["mcri","murdoch-childrens","redcap","redcap-external-module","redcap-repo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsgs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-06T03:19:59.000Z","updated_at":"2023-10-12T02:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"2dcbfb52-da2d-45bf-abe0-1c1e4e95272a","html_url":"https://github.com/lsgs/redcap-choice-columns","commit_stats":null,"previous_names":["lsgs/redcap-choice-columns"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/lsgs/redcap-choice-columns","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgs%2Fredcap-choice-columns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgs%2Fredcap-choice-columns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgs%2Fredcap-choice-columns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgs%2Fredcap-choice-columns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsgs","download_url":"https://codeload.github.com/lsgs/redcap-choice-columns/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgs%2Fredcap-choice-columns/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28768053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mcri","murdoch-childrens","redcap","redcap-external-module","redcap-repo"],"created_at":"2026-01-26T06:05:41.183Z","updated_at":"2026-01-26T06:05:41.794Z","avatar_url":"https://github.com/lsgs.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"********************************************************************************\n# REDCap External Module: Choice Columns\n\nLuke Stevens, Murdoch Children's Research Institute https://www.mcri.edu.au\n\n[https://github.com/lsgs/redcap-choice-columns](https://github.com/lsgs/redcap-choice-columns)\n********************************************************************************\n## Summary\n\nTag radio or checkbox fields with the action tag `@CHOICE-COLUMNS=?` to specify the number of columns the choices will be displayed in.\n\nNotes:\n* The tag is ignored for fields other than radio and checkbox.\n* The tag is ignored for radio and checkbox fields that are part of a matrix.\n* Enhanced radio buttons and checkboxes are supported.\n* Specify an integer in the range 1-99 for the number of columns. Any other value will cause the tag to be ignored and the field display default behaviour.\n* Choices hidden through `@HIDECHOICE` or `@SHOWCHOICE` are removed from the column/row grid (i.e. there will not be blank placeholder spaces for hidden choices).\n* Piping into the action tag *is* supported, but only on page load. It is not dynamic within a page (i.e. is similar to other tags like `@HIDECHOICE` and `@IF`).\n\n********************************************************************************\n## Alignment\n### Vertical vs. Horizontal\n* Horizontal: Choices will be displayed in columns with choices listed **across then down**.\n* Vertical: Choices will be displayed in columns with choices listed **down then across**.\n\nNote: down then across filling for fields with vertical alignment means that the specified column count may not be fully filled.\n\n### Left vs. Right\n* Left: **Recommended.** Choices occupy the full width of the form container, with the field label above. \n* Right: Choices occupy space to the right of the field label. Usually unsuitable with higher column counts.\n\n********************************************************************************\n## Multi-Language Management\nThe module is designed to support re-rendering following language changes, including between left-to-right and right-to-left languages.\n\n### LV Alignment\n| L-T-R   |         |\u003c|-|\u003e|         |    R-T-L|\n|---------|---------|-|-|-|---------|---------|\n| Choice1 | Choice4 | | | | 4eciohC | 1eciohC |\n| Choice2 | Choice5 | | | | 5eciohC | 2eciohC |\n| Choice3 |         | | | |         | 3eciohC |\n\n### LH Alignment\n| L-T-R   |         |\u003c|-|\u003e|         |    R-T-L|\n|---------|---------|-|-|-|---------|---------|\n| Choice1 | Choice2 | | | | 2eciohC | 1eciohC |\n| Choice3 | Choice4 | | | | 4eciohC | 3eciohC |\n| Choice5 |         | | | |         | 5eciohC |\n\n********************************************************************************\n## Example and Screenshots\n[https://redcap.link/em-choice-columns](https://redcap.link/em-choice-columns)\n\n[![example0](https://redcap.mcri.edu.au/surveys/index.php?__file=UML4tP3DFSNiJMVVZtvTs4tLgwWShdUXCpf6cQg9TXmamoKruUcULNrDgWtAd3rLwbyak6yTP9XuE7UsgXwIpWje329F6524Jox4\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=4307d542e5880069740a87abb8590ad22444b062\u0026id=1785490)](https://redcap.mcri.edu.au/surveys/index.php?__file=UML4tP3DFSNiJMVVZtvTs4tLgwWShdUXCpf6cQg9TXmamoKruUcULNrDgWtAd3rLwbyak6yTP9XuE7UsgXwIpWje329F6524Jox4\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=4307d542e5880069740a87abb8590ad22444b062\u0026id=1785490)\n\n[![example1](https://redcap.mcri.edu.au/surveys/index.php?__file=PFUvZLFhXBtxrveL7hLGQVKTtY7U6KnVPKfKiDJXFEfBJLwFxFDpWio6iJhjgEIj77N9Q9LA44txwGdD7P546GPhjkyB2yev3TMy\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=e62d420d182644d2723d00d369b919fe6df04ce2\u0026id=1785491)](https://redcap.mcri.edu.au/surveys/index.php?__file=PFUvZLFhXBtxrveL7hLGQVKTtY7U6KnVPKfKiDJXFEfBJLwFxFDpWio6iJhjgEIj77N9Q9LA44txwGdD7P546GPhjkyB2yev3TMy\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=e62d420d182644d2723d00d369b919fe6df04ce2\u0026id=1785491)\n\n[![example2](https://redcap.mcri.edu.au/surveys/index.php?__file=IPN2oZe3s4SpAeHD7iZ8B2gHXowHuwaLRPVUDKePVvs3zyd9M3oJqPjuihwt4vnSQbyw5quGNobd2i3PE4bgYT9IchE5ABrzCWgt\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=060cde0a2b13c9e82fcd1b0e4e4bb9750be22dd9\u0026id=1785483)](https://redcap.mcri.edu.au/surveys/index.php?__file=IPN2oZe3s4SpAeHD7iZ8B2gHXowHuwaLRPVUDKePVvs3zyd9M3oJqPjuihwt4vnSQbyw5quGNobd2i3PE4bgYT9IchE5ABrzCWgt\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=060cde0a2b13c9e82fcd1b0e4e4bb9750be22dd9\u0026id=1785483)\n\n[![example3](https://redcap.mcri.edu.au/surveys/index.php?__file=sLkmoTUzvhz7UTyExCAiSGGbR2SpdjjUze8kp3rwiGfUtJMt8iG87UwJDqjcaCzVE9I7RcyYvQ9HtiUTogkJAUteMnu9iCozPEdd\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=5a3f9e1e51c18cb119e771f18669a23f14697024\u0026id=1785484)](https://redcap.mcri.edu.au/surveys/index.php?__file=sLkmoTUzvhz7UTyExCAiSGGbR2SpdjjUze8kp3rwiGfUtJMt8iG87UwJDqjcaCzVE9I7RcyYvQ9HtiUTogkJAUteMnu9iCozPEdd\u0026__passthru=DataEntry%2Fimage_view.php\u0026doc_id_hash=5a3f9e1e51c18cb119e771f18669a23f14697024\u0026id=1785484)\n\n********************************************************************************","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsgs%2Fredcap-choice-columns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsgs%2Fredcap-choice-columns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsgs%2Fredcap-choice-columns/lists"}