diff options
Diffstat (limited to 'server/xml/macros/B.3.1.2.xml')
-rw-r--r-- | server/xml/macros/B.3.1.2.xml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/server/xml/macros/B.3.1.2.xml b/server/xml/macros/B.3.1.2.xml index 2391b0e..bf4058f 100644 --- a/server/xml/macros/B.3.1.2.xml +++ b/server/xml/macros/B.3.1.2.xml @@ -1,11 +1,18 @@ <?xml version='1.0' encoding='UTF-8'?> <macro name="B.3.1.2" version="1.0"> - <resume store_in_journal="false"></resume> - <queries> - </queries> + <resume>De 5 trin til forebyggelse af forveksling af øjnene er gennemgået.</resume> + <queries></queries> <maps> </maps> <scripts> + <script language="lua" name="yes_only"> + if ( value == 'ja' ) + then + return true + else + return false + end + </script> </scripts> <window caption="Gennemgang af de 5 trin (B.3.1.2)" layout="vbox"> <frame layout="vbox"> @@ -13,9 +20,9 @@ <label caption="De 5 trin til forebyggelse af forveksling af øjnene er gennemgået:"/> </frame> <frame layout="hbox"> - <radiobuttons name="five_steps_radiobutton"> - <radiobutton value="five_steps_yes" caption="Ja"/> - <radiobutton value="five_steps_no" caption="Nej"/> + <radiobuttons name="five_steps" script="yes_only"> + <radiobutton value="ja" caption="Ja"/> + <radiobutton value="nej" caption="Nej"/> </radiobuttons> <spacer /> </frame> |