Export form to PDF - select_multiple issue

Hi folks,

I've put together a form and have my pdf configured so that I'm pulling
populated data into it. It all works fine from start to finish, except for
select_multiple options. If I select one of from the list, it is displayed
in the pdf, but if I select more than one nothing is checked in my check
boxes on the pdf. Does anyone know of a way around this? Been trying
everything and nothing seems to work so that more than one option is
checked.

Have each check box addressing the same name from my xls form with the
export value in the pdf reading the label from my choices tab, yet nothing
seems to be working when I select more than one option in my form.

Anyone any ideas?

Any help would be greatly appreciated..

Cheers,
Craig

select-multiple questions have their values stored as a space-separated
list. So if you checked two options with display labels "A" and "B" with
values "a_value", "b_value", the field would contain:

"a_value b_value"

in no particular order.

Your PDF renderer should split the value in these fields on space
characters. Then loop through all of the parts to map them back into
display labels.

··· On Fri, Sep 9, 2016 at 8:28 AM, Craig Cullen wrote:

Hi folks,

I've put together a form and have my pdf configured so that I'm pulling
populated data into it. It all works fine from start to finish, except for
select_multiple options. If I select one of from the list, it is displayed
in the pdf, but if I select more than one nothing is checked in my check
boxes on the pdf. Does anyone know of a way around this? Been trying
everything and nothing seems to work so that more than one option is
checked.

Have each check box addressing the same name from my xls form with the
export value in the pdf reading the label from my choices tab, yet nothing
seems to be working when I select more than one option in my form.

Anyone any ideas?

Any help would be greatly appreciated..

Cheers,
Craig

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Craig,

A bit off-topic, but can you tell me more about this PDF renderer?
What high-level problem does it solve and is it a tool you can share
with the community?

Yaw

··· On Tue, Sep 13, 2016 at 8:58 PM, Mitch Sundt wrote: > select-multiple questions have their values stored as a space-separated > list. So if you checked two options with display labels "A" and "B" with > values "a_value", "b_value", the field would contain: > > "a_value b_value" > > in no particular order. > > Your PDF renderer should split the value in these fields on space > characters. Then loop through all of the parts to map them back into display > labels. > > > On Fri, Sep 9, 2016 at 8:28 AM, Craig Cullen wrote: >> >> Hi folks, >> >> I've put together a form and have my pdf configured so that I'm pulling >> populated data into it. It all works fine from start to finish, except for >> select_multiple options. If I select one of from the list, it is displayed >> in the pdf, but if I select more than one nothing is checked in my check >> boxes on the pdf. Does anyone know of a way around this? Been trying >> everything and nothing seems to work so that more than one option is >> checked. >> >> Have each check box addressing the same name from my xls form with the >> export value in the pdf reading the label from my choices tab, yet nothing >> seems to be working when I select more than one option in my form. >> >> Anyone any ideas? >> >> Any help would be greatly appreciated.. >> >> Cheers, >> Craig >> >> -- >> -- >> Post: opendatakit@googlegroups.com >> Unsubscribe: opendatakit+unsubscribe@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. > > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitchellsundt@gmail.com > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.