| | 111 | <br/><br/> |
| | 112 | I assume that there are a number of ways of achieving the same result using JavaScript. On the Obiba web site, the equivalent of the above is given by: |
| | 113 | {{{ |
| | 114 | <valueset entityType="Participant" valueTable="Participants"> |
| | 115 | <entities> |
| | 116 | <script type="INCLUDE"> |
| | 117 | <javascript> |
| | 118 | <![CDATA[ |
| | 119 | // Include any valueset that has 'CLOSED' or 'COMPLETED' |
| | 120 | // as a value for the 'Participant.Interview.Status' variable |
| | 121 | $('Participants:Admin.Interview.exportLog.destination').any('DCC.Participants')]]> |
| | 122 | </javascript> |
| | 123 | </script> |
| | 124 | <script type="EXCLUDE"> |
| | 125 | <javascript><![CDATA[$('Admin.Participant.exported').any('TRUE')]]></javascript> |
| | 126 | </script> |
| | 127 | </entities> |
| | 128 | |
| | 129 | ... |
| | 130 | |
| | 131 | </valueset> |
| | 132 | }}} |