Skip to content

Commit

Permalink
Documentation tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgs committed Oct 12, 2023
1 parent 58d90fe commit 81bdc0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Notes:
* The tag is ignored for fields other than radio and checkbox.
* The tag is ignored for radio and checkbox fields that are part of a matrix.
* Enhanced radio buttons and checkboxes are supported.
* Specify an integers 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.
* 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.
* 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`).

********************************************************************************
Expand Down Expand Up @@ -50,12 +50,12 @@ The module is designed to support re-rendering following language changes, inclu
## Example and Screenshots
[https://redcap.link/em-choice-columns](https://redcap.link/em-choice-columns)

![example0](https://redcap.mcri.edu.au/surveys/index.php?__file=UML4tP3DFSNiJMVVZtvTs4tLgwWShdUXCpf6cQg9TXmamoKruUcULNrDgWtAd3rLwbyak6yTP9XuE7UsgXwIpWje329F6524Jox4&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=4307d542e5880069740a87abb8590ad22444b062&id=1785490)
[![example0](https://redcap.mcri.edu.au/surveys/index.php?__file=UML4tP3DFSNiJMVVZtvTs4tLgwWShdUXCpf6cQg9TXmamoKruUcULNrDgWtAd3rLwbyak6yTP9XuE7UsgXwIpWje329F6524Jox4&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=4307d542e5880069740a87abb8590ad22444b062&id=1785490)](https://redcap.mcri.edu.au/surveys/index.php?__file=UML4tP3DFSNiJMVVZtvTs4tLgwWShdUXCpf6cQg9TXmamoKruUcULNrDgWtAd3rLwbyak6yTP9XuE7UsgXwIpWje329F6524Jox4&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=4307d542e5880069740a87abb8590ad22444b062&id=1785490)

![example1](https://redcap.mcri.edu.au/surveys/index.php?__file=PFUvZLFhXBtxrveL7hLGQVKTtY7U6KnVPKfKiDJXFEfBJLwFxFDpWio6iJhjgEIj77N9Q9LA44txwGdD7P546GPhjkyB2yev3TMy&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=e62d420d182644d2723d00d369b919fe6df04ce2&id=1785491)
[![example1](https://redcap.mcri.edu.au/surveys/index.php?__file=PFUvZLFhXBtxrveL7hLGQVKTtY7U6KnVPKfKiDJXFEfBJLwFxFDpWio6iJhjgEIj77N9Q9LA44txwGdD7P546GPhjkyB2yev3TMy&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=e62d420d182644d2723d00d369b919fe6df04ce2&id=1785491)(https://redcap.mcri.edu.au/surveys/index.php?__file=PFUvZLFhXBtxrveL7hLGQVKTtY7U6KnVPKfKiDJXFEfBJLwFxFDpWio6iJhjgEIj77N9Q9LA44txwGdD7P546GPhjkyB2yev3TMy&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=e62d420d182644d2723d00d369b919fe6df04ce2&id=1785491)

![example2](https://redcap.mcri.edu.au/surveys/index.php?__file=IPN2oZe3s4SpAeHD7iZ8B2gHXowHuwaLRPVUDKePVvs3zyd9M3oJqPjuihwt4vnSQbyw5quGNobd2i3PE4bgYT9IchE5ABrzCWgt&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=060cde0a2b13c9e82fcd1b0e4e4bb9750be22dd9&id=1785483)
[![example2](https://redcap.mcri.edu.au/surveys/index.php?__file=IPN2oZe3s4SpAeHD7iZ8B2gHXowHuwaLRPVUDKePVvs3zyd9M3oJqPjuihwt4vnSQbyw5quGNobd2i3PE4bgYT9IchE5ABrzCWgt&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=060cde0a2b13c9e82fcd1b0e4e4bb9750be22dd9&id=1785483)(https://redcap.mcri.edu.au/surveys/index.php?__file=IPN2oZe3s4SpAeHD7iZ8B2gHXowHuwaLRPVUDKePVvs3zyd9M3oJqPjuihwt4vnSQbyw5quGNobd2i3PE4bgYT9IchE5ABrzCWgt&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=060cde0a2b13c9e82fcd1b0e4e4bb9750be22dd9&id=1785483)

![example3](https://redcap.mcri.edu.au/surveys/index.php?__file=sLkmoTUzvhz7UTyExCAiSGGbR2SpdjjUze8kp3rwiGfUtJMt8iG87UwJDqjcaCzVE9I7RcyYvQ9HtiUTogkJAUteMnu9iCozPEdd&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=5a3f9e1e51c18cb119e771f18669a23f14697024&id=1785484)
[![example3](https://redcap.mcri.edu.au/surveys/index.php?__file=sLkmoTUzvhz7UTyExCAiSGGbR2SpdjjUze8kp3rwiGfUtJMt8iG87UwJDqjcaCzVE9I7RcyYvQ9HtiUTogkJAUteMnu9iCozPEdd&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=5a3f9e1e51c18cb119e771f18669a23f14697024&id=1785484)(https://redcap.mcri.edu.au/surveys/index.php?__file=sLkmoTUzvhz7UTyExCAiSGGbR2SpdjjUze8kp3rwiGfUtJMt8iG87UwJDqjcaCzVE9I7RcyYvQ9HtiUTogkJAUteMnu9iCozPEdd&__passthru=DataEntry%2Fimage_view.php&doc_id_hash=5a3f9e1e51c18cb119e771f18669a23f14697024&id=1785484)

********************************************************************************
6 changes: 3 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Choice Columns",
"description": "Tag radio or checkbox fields with the action tag <span style='font-family:monospace'>@CHOICE-COLUMNS=?</span> to specify the number of columns the choices will be displayed in.",
"description": "Tag radio or checkbox fields with the action tag <code>@CHOICE-COLUMNS=?</code> to specify the number of columns the choices will be displayed in.<br>Choices are placed into columns across-then-down for horizontal alignment, and down-then-across for vertical alignment.",
"namespace": "MCRI\\ChoiceColumns",
"authors": [
{
Expand All @@ -13,14 +13,14 @@
"action-tags": [
{
"tag": "@CHOICE-COLUMNS",
"description": "Tag radio or checkbox fields with the action tag <span style='font-family:monospace'>@CHOICE-COLUMNS=?</span> to specify the number of columns the choices will be displayed in."
"description": "Tag radio or checkbox fields with the action tag <code>@CHOICE-COLUMNS=?</code> to specify the number of columns the choices will be displayed in (1-99).<br>Choices are placed into columns across-then-down for horizontal alignment, and down-then-across for vertical alignment."
}
],
"system-settings": [ ],
"project-settings": [
{
"key": "tag-desc",
"name": "Tag radio or checkbox fields with the action tag <span style='font-family:monospace'>@CHOICE-COLUMNS=?</span> to specify the number of columns the choices will be displayed in.",
"name": "Tag radio or checkbox fields with the action tag <code>@CHOICE-COLUMNS=?</code> to specify the number of columns the choices will be displayed in.<br>Choices are placed into columns across-then-down for horizontal alignment, and down-then-across for vertical alignment.",
"type": "descriptive"
}
]
Expand Down

0 comments on commit 81bdc0f

Please sign in to comment.