/usr/share/freemedforms/forms/subforms/fortestonly/Special Combo Sample.xml is in freemedforms-emr-resources 0.9.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?xml version="1.0" encoding="UTF-8"?>
<MedForm>
<name>formSample</name>
<label>Special ComboBox' example</label>
<type>form</type>
<version>0.1</version>
<cdate>2008-11-14</cdate>
<categorie>samples</categorie>
<script>
{
var object = thisForm.sampleCombo;
var str = "";
str = object.name + " has value " + object.value + "\n";
str += "\nActual Id is " + object.id + " giving value " + object.value;
object.id = 2;
str += "\nThis time value is : " + object.value;
return str;
}
</script>
<MedForm>
<name>sampleCombo</name>
<label>This a Special ComboBox</label>
<type>specialcombo</type>
<option lang="fr">file=specialcombofile.txt</option>
<option lang="en">file=specialcombofile.txt</option>
</MedForm>
</MedForm>
|