cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ChazBolt
Level: Powered On

When using the answer from a multiple choice question on a Form to fill in a PDF

Hi,

 

I am using a Microsoft form to fill in answers on a fillable PDF.

 

One of the questions is a choice question (as opposed to a fill in your own answer text question) and when the Form outputs the answer from a multiple choice question, it outputs it like this: ['Answer']

 

THis makes a problem when trying to use the answer to fill in a PDF, becuase in JSON it reads:

 

{
    "FillSpace": "["Answer"]"
}

However, this creates an issue because the second " closes it. So its reading that it should fill the PDF with just [ and then its reading the A as an unknown. So it fails. 

 

How can i fix this?

 

4 REPLIES 4
Highlighted
Community Support Team
Community Support Team

Re: When using the answer from a multiple choice question on a Form to fill in a PDF

Hi @ChazBolt,

 

Do you want the answer from a multiple choice question like   ["Option 1","Option 2"]    would be formated to   Option 1,Option 2  , so you could fill in answers on a fillable PDF?

 

If yes, please refer to screenshot below to create the flow:

Capture.PNG

 

The schema in the Parse JSON action as below:

{
"type": "array",
"items": {
"type": "string"
}
}
 
The flow would run successfully as below:
Capture.PNG
Capture.PNG
 
Best regards,
Alice
 
Administrator
Administrator

Re: When using the answer from a multiple choice question on a Form to fill in a PDF

Hey, @ChazBolt!

Thank you for posting on the Flow Community Forum! It appears as though @v-yuazh-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Flow Community Manager
ChazBolt
Level: Powered On

Re: When using the answer from a multiple choice question on a Form to fill in a PDF

Due to other projects i have not gotten to fully test this out. It helped me understand more of what i could, but i have not yet come to a perfect solution. 

Atiyah
Level: Power Up

Re: When using the answer from a multiple choice question on a Form to fill in a PDF

Hi@ 

 

 

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 56 members 3,460 guests
Please welcome our newest community members: