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 :
Power Automate - Building Flows
Answered

Power Automate condition when "Other" option is selected in MS Forms dropdown

(0) ShareShare
ReportReport
Posted on by 11

We have a MS Form that has a dropdown with [12 options, but more importantly] the "Other" option enabled.

How do we [compose the condition statement to] check if a responder has selected "Other" (filling in their own custom/"arbitrary" response)? (We don't *particularly* care for capturing that "custom response", only that the "Other" option was selected at all.)

Is there a [constant/reliable/predictable] flag/indicator[/property/variable/etc.] that denotes the "Other" option was selected in such a dropdown? I tried looking at some of the raw code in a test-run, but code not discern such an indicator; just the arbitrary/varying/unreliable user's input. So,

Am I stuck with needing to write a long [A.F.] conditional statement, to check that it was not any of the predefined dozen, like:

 

 

 

IF( name!="Alex" && name!="Brady" && name!="Casey" && /*imagine triple this amount*/ && name!="Leslie" ) {
 /* THEN: "Other" was selected!
 Notify 'forms-dev@example.com' 
 of a potential issue/change. */ 
}

 

 

 

And, if that's the case, is there a shorter method/function that can help simplify the condition statement? Something like:

 

 

 

IF(! myObject.hasOwnProperty( responseValue ) ){ /* Then: "Other" was selected! */ }

 

 

 

Fortunately, I happen to have the predefined dozen option values already initialized in a [Power Automateobject, like so:

 

 

 

{
"Alex" : {"email":"alex@example.com", "phone":"+14045550001"},
"Brady" : {"email":"brady@example.com", "phone":"+14045550002"},
[...],
"Leslie" : {"email":"leslie@example.com", "phone":"+14045550012"}
}

 

 

 

So, I'm hoping maybe there's a method there I can leverage if I can't simply just check for a flag that "Other was selected."

Thanks for assisting the new[est] kid on the block today!

I have the same question (0)
  • creativeopinion Profile Picture
    10,480 Super User 2025 Season 2 on at
    Re: Power Automate condition when "Other" option is selected in MS Forms dropdown

    @enoch87 Check out this section of my YT Tutorial: How to Get Microsoft Form File Uploads Attached to an Email 📧

     

    I cover how to create an email key which outputs a string of email addresses based on a selection from the form. You should be able to use this same concept in your flow. 

     

    In this Microsoft Power Automate Tutorial I’m going to cover where file uploads from your Microsoft Forms are saved. I’ll also show you how attach the uploaded files to an email and how to dynamically name the files and customize the recipient of the email based on the selections made in your Microsoft Form. I will also cover how to handle responses that don’t include any file uploads.

     

    IN THE FULL TUTORIAL VIDEO:

    ‌ Two types of MS Forms

    ‌ Where Microsoft Personal (OneDrive) Form File Uploads are Saved

    ‌ Where Microsoft Group Form File Uploads are Saved

    ‌ How to Add a File Upload Question to an MS Form

    ‌ How to get a Microsoft Form ID

    ‌ How to get a Microsoft Form Response

    ‌ How to Get the Dynamic Content Microsoft Form File Upload Content

    ‌ How to handle Single and Multiple Microsoft Form File Uploads

    ‌ How to use a Scope action to Organize and Group Your Flow Actions

    ‌ How to Get the File Content from an MS Form File Upload

    ‌ How to Collect All Files Uploaded to a MS Form and Attach to an Email

    ‌ How to Handle MS Form Response When a File Isn’t Uploaded

    ‌ How to Create an Email Key

    ‌ How to Send an Email to a Specific Recipient Based on Form Selection

    ‌ How to Create a Dynamic Output Based on Form Selection

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! If you're feeling generous— ️  Buy me a coffee: https://www.buymeacoffee.com/acreativeopinion

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok
     

  • enoch87 Profile Picture
    11 on at
    Re: Power Automate condition when "Other" option is selected in MS Forms dropdown

    ... While there are some nice tidbits in that video... I didn't recognize where it covers dropdowns with the "Other" option enabled in that section...

  • creativeopinion Profile Picture
    10,480 Super User 2025 Season 2 on at
    Re: Power Automate condition when "Other" option is selected in MS Forms dropdown

    @enoch87 Apologies I thought you had a choice option that was "Other" and that you want to map a different output for each selected option.

     

    I misread the original post. 

     

    In my demo, I have 3 choice options plus the "Other" option. 

    creativeopinion_0-1710443423284.png

     

    Add a Compose action to store all of your choices. Separate each one with a comma—ensure they match the choices in your form.

    creativeopinion_1-1710443460604.png

    Add another Compose action and insert an expression. Use the contains() function.

    creativeopinion_2-1710443499745.png

    The contains() function takes two parameters:

    contains([collection/string], [string])

    Click on the dynamic content tab and insert the output that contains the string of choices.

    creativeopinion_3-1710443512084.png

    Add a comma. Insert the dynamic content from the Get Response details for the appropriate question. 

    creativeopinion_4-1710443535831.png

    Run a test. In my first test, I've entered a custom "option". 

    creativeopinion_5-1710443563266.png

    The output of the Compose action is false. "Something else" is not contained in the string of choices.

    creativeopinion_6-1710443570661.png

     

    In a second test, I selected a choice that was contained in the string of choices.

     

    creativeopinion_7-1710443604135.png

    The output of the Compose action is true.

    creativeopinion_8-1710443613962.png

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! If you're feeling generous— ️  Buy me a coffee: https://www.buymeacoffee.com/acreativeopinion

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok
     

     

  • Verified answer
    enoch87 Profile Picture
    11 on at
    Re: Power Automate condition when "Other" option is selected in MS Forms dropdown

     


    The contains() function takes two parameters:
    contains([collection/string], [string])

    ^ Was the function I was looking for. Thank you.
    Which AI voice do you use in your videos?
    It's pleasant. 

  • creativeopinion Profile Picture
    10,480 Super User 2025 Season 2 on at
    Re: Power Automate condition when "Other" option is selected in MS Forms dropdown

    @enoch87 No worries. It's not an AI voice it's my own voice! Thanks ... I think? 

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 691 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 431 Moderator

#3
developerAJ Profile Picture

developerAJ 266

Last 30 days Overall leaderboard