web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : arbOPT3I/ZmM8akqhqasNf
Power Automate - Building Flows
Answered

Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

Like (0) ShareShare
ReportReport
Posted on 3 Jun 2020 22:53:15 by 87

Good afternoon, 

 

I am having trouble with collecting a text string from a multiple choice field in Forms labeled as "Other" in which a person enters text. I have a switch for the other multiple choice items, but for the last switch of Default, I would like to capture the text that is entered in the "Other" multiple choice option.  I do not know the correct expression I should be using to capture ALL of the text that is entered in the "Other" field.  It is not going to be a set length of characters, and it will not consistently be the same answer.  

 

Any assistance is greatly appreciated!

 

Thank you!

Tif

I have the same question (0)
  • abm abm Profile Picture
    32,585 Most Valuable Professional on 03 Jun 2020 at 23:19:50
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Hi @Tif 

     

    You could initialise a string variable and store the value of the other field. Use the Switch value store under another new variable. Add an IF condition to check the switch value is null then use the other field.

     

    Thanks

  • v-litu-msft Profile Picture
    on 04 Jun 2020 at 06:21:27
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Hi @Tif,

     

    The other option always at the first member of the collection of the multiple-choice answer, so we could use json() function convert the answer of the multiple-choice answer into an array, then use index 0 to get the first member.

    Annotation 2020-06-04 141047.jpg

     

    Then we should initialize an array variable to store all fix options and initialize a string variable to store the other option:
    Annotation 2020-06-04 141100.jpg

     

    Then put the output of step 1, the first member of the multiple-choice answer, into the condition to determine it whether exists in the all fixed options, if not, means the First member is get from other option, then put it into the Other variable:

    Annotation 2020-06-04 141858.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Tif Profile Picture
    87 on 04 Jun 2020 at 16:20:11
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Hi @abm ,

     

    Thank you for your response.  Can you please tell me how I store the value of the "Other" field?  How do I reference that?  

     

    I am currently using a Switch for the multiple choices and in the last case I will add the IF condition you suggested. 

     

    Thanks again!

  • abm abm Profile Picture
    32,585 Most Valuable Professional on 04 Jun 2020 at 16:24:20
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Hi @Tif 

     

    From the response details you have other option isn't? So declare a variable and map the response other value under this variable.

     

    Thanks

  • Tif Profile Picture
    87 on 04 Jun 2020 at 18:13:41
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    @abm , Here are pics of what I have so far:

    IS Other - 1.jpgIS Other - 2.jpgIS Other - 3.jpgIS Other - 4.jpgIS Other - 5.jpg

     

    I'm stuck at this point not knowing what I need to place in the If Yes box to have the text from the Other field import into the spreadsheet. 

     

    Thank you, 

    Tif

  • Verified answer
    abm abm Profile Picture
    32,585 Most Valuable Professional on 04 Jun 2020 at 19:15:27
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Hi @Tif 

     

    Thanks for the discussion. Following are the steps:

     

    1. Add an IF condition to check the length of the variable?

    2. IF it's zero then replace the variable value with Other 

    3. Finally map the variable in Excel

     

    Thanks

  • Tif Profile Picture
    87 on 04 Jun 2020 at 19:32:02
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    @abm Thank you so very, very much!  I appreciate all the help and explanation of the steps involved.  Enjoyed the conversation and learning experience!

     

    Thanks again for all your tremendous help!

    Tif

  • Ivan_W Profile Picture
    4 on 07 Sep 2020 at 15:34:27
    Re: Forms response from multiple choice "Other" blank field, copy all text entered to Excel spreadsheet

    Dear Lin Tu @v-litu-msft , 

     

    Thank you so much for the detailed steps. And this is extremely helpful.

     

    Would appreciate if you could help to explain the rest from what to do for the "Yes" and "No" and how to map to the excel please.  

     

    Many thanks

    Ivan

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard
Loading complete