Good morning all!

 

I am trying to develop an XForm for use with OpenMRS-JR on a mobile
device.  I want to have a group of questions repeated 4 times; CURRENT
VACCINATION PROVIDED.  When I try to add the field group for an infinite
number of times (using Max -1 for infinite) in the schema design, the
mobile device can't handle it and it crashes.  (Apparently it doesn't
know how to handle the add button to show the next fields). I would like
to specify these same concepts to be answered 4 times on the form, so in
the schema design, I set it to Min=4 and Max=4.  When I pull these new
elements, both on the form fields and the design surface, it shows the
concepts only one time.  I also tried listing the field(s) multiple
times in the schema design, but it only shows the field one time when
pulling new elements.

 

I tried copying the desired fields and pasting them onto the form
schema, the bindings are all the same, but when filling out the form it
only saves the observation from the first occurrence of the field.

 

The XForm is here...

http://pastebin.com/download.php?i=HESg7Ly4 

 

I noticed that the "<current_vaccination_provided
openmrs_concept="3025^CURRENT VACCINATION PROVIDED^99DCT"
openmrs_datatype="ZZ">" section only appear once in the code, so I tried
copying and pasting that to make it four times, but got the same
results.

 

I'm using OpenMRS 1.8.3 and the latest version of XForms Module version
4.0.9.1.

 

Any suggestions on how to make this work would be greatly appreciated.

 

Thanks,

James


_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to