ecML v 1.0
<ecml>
<model>
must contain one
<submission>
projectName=””required
allowDownloadEdits=””true/falserequired
versionNumber=””required
<uploadToServer>
<downloadFromServer>
</model>
Document must contain one or more
<form>
num=””must be uniquerequired
name=””must be uniquerequired
key=””check one key field is present and validrequired
main=””true/false default if not branch form-true not required
TEXT FIELDS
<input>
ref=””must be uniquerequired
genkey=””true/falsedefault if not present-falsenot required
required=””true/falsedefault if not present-falsenot required
title=””true/falsedefault if not present-falsenot required
display=””true/falsedefault if not present-truenot required
edit=””true/falsedefault if not present-truenot required
search=""true/falsedefault if not present-falsenot required
integer=””true/falsedefault if not present-falsenot required
decimal=””true/falsedefault if not present-falsenot required
min=””intnot required
max=””intnot required
date=””dd/MM/yyyy or similarnot required
setdate=””dd/MM/yyyy or similarnot required
settime=””HH:mm:ss or similarnot required
regex=””valid regular expressionnot required
default=””textnot required
verify=”” true/false default if not present-falsenot required
must include one <label>
<select>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
title=””true/falsedefault if not present-falsenot required
search=""true/falsedefault if not present-falsenot required
jump=”” in the format ‘target,item ‘
where target=ref of question, item= int of item in select
can use ‘!’ to specify NOT
multiples allowed, comma separated-validate
not required
default=”” int reference to item in select – multiple allowed (commasep)
not required
must include at least one <label> each of which must include one <item> and one <value>. All <value> data should contain no whitespace.
<select1>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
title=””true/falsedefault if not present-falsenot required
search=""true/falsedefault if not present-falsenot required
jump=”” in the format ‘target,item ‘
where target=ref of question, item= int of item in select
can use ‘!’ to specify NOT
multiples allowed, comma separated-validate
not required
default=”” int reference to item in select1 – only one allowed – validate
not required
must include at least one <label> each of which must include one <item> and one <value>. All <value> data should contain no whitespace.
<radio>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
title=””true/falsedefault if not present-falsenot required
search=""true/falsedefault if not present-falsenot required
jump=”” in the format ‘target,item ‘
where target=ref of question, item= int of item in select
can use ‘!’ to specify NOT
multiples allowed, comma separated-validate
not required
default=”” int reference to item in radio - only one allowed – validate
not required
must include at least one <label> each of which must include one <item> and one <value>. All <value> data should contain no whitespace.
MEDIA FIELDS
<location>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
must include one <label>
<photo>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
must include one <label>
<video>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
must include one <label>
<audio>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
must include one <label>
<barcode>
ref=””must be uniquerequired
required=””true/falsedefault if not present-falsenot required
regex=””valid regular expressionnot required
must include one <label>
BRANCH FORM
<branch>
ref=””must be unique required
branch_form=“”name of branch form to userequired
must include one <label>
Note: branch form requires main=”false”
</ecml>