|
7 | 7 | <!-- Those metadata will be displayed in the template configuration page. They are not used for now. --> |
8 | 8 | <metadata> |
9 | 9 | <name>signature</name> |
| 10 | + <type>question_theme</type> |
| 11 | + <title>Signature Pad</title> |
10 | 12 | <creationDate>2023-05-29</creationDate> |
| 13 | + <lastUpdate>2023-05-29</lastUpdate> |
11 | 14 | <author>Adam Zammit</author> |
| 15 | + <authorUrl>https://www.acspri.org.au/</authorUrl> |
12 | 16 | < authorEmail> [email protected]</ authorEmail> |
13 | | - <authorUrl>https://www.acspri.org.au</authorUrl> |
14 | 17 | <copyright>Copyright (C) 2023 Australian Consortium for Social and Political Research Incorporated (ACSPRI)</copyright> |
15 | 18 | <license>GNU General Public License version 2 or later</license> |
16 | 19 | <version>1.0</version> |
17 | 20 | <apiVersion>1</apiVersion> |
| 21 | + <lastSecurityUpdate>1.0</lastSecurityUpdate> |
| 22 | + <questionType>S</questionType> |
| 23 | + <group>Text questions</group> |
18 | 24 | <description>Collect a signature from the respondent and save as base64</description> |
19 | 25 | </metadata> |
20 | 26 |
|
| 27 | + <compatibility> |
| 28 | + <version>3.0</version> |
| 29 | + <version>4.0</version> |
| 30 | + <version>5.0</version> |
| 31 | + <version>6.0</version> |
| 32 | + </compatibility> |
| 33 | + |
21 | 34 | <!-- |
22 | 35 | Here the list of the css/js files to load. |
23 | 36 | Any file here will be loaded via the asset manager (when in config.php debug = 0) |
|
29 | 42 | <js> |
30 | 43 | <filename>scripts/signature_pad.umd.min.js</filename> |
31 | 44 | </js> |
| 45 | + <preview> |
| 46 | + <filename>images/signature.png</filename> |
| 47 | + </preview> |
32 | 48 | </files> |
33 | 49 |
|
| 50 | + <attributes> |
| 51 | + <!-- Hide some core attributes --> |
| 52 | + <attribute> |
| 53 | + <name>prefix</name> |
| 54 | + <category>Display</category> |
| 55 | + <inputtype/> |
| 56 | + </attribute> |
| 57 | + <attribute> |
| 58 | + <name>display_rows</name> |
| 59 | + <category>Display</category> |
| 60 | + <inputtype/> |
| 61 | + </attribute> |
| 62 | + </attributes> |
| 63 | + |
| 64 | + |
34 | 65 | <!-- Here datas about how LimeSurvey should load the core js/css of the question --> |
35 | 66 | <engine> |
36 | 67 | <load_core_css>true</load_core_css> |
|
0 commit comments