cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
geoff786
Helper III
Helper III

Formatting Issue in email

Hi,newbie....i use MS Forms and have a simple flow. it generates an email as noted below, i am not sure why but the selections that the res ponder provides(me in the test) always puts a parenthesis around the response. I am using drop down lists in the form, any idea how to fix? 

I highlighted the issue in red.....

Geoff.

 

'Please review the proposed contract framework for
Client Name: Geoff's Cookie Co
Start Date:2020-07-31
Services:["C-Store","Drug"]
Commission Rate["Net Sales"]
Performance Bonus:-'

1 ACCEPTED SOLUTION

Accepted Solutions
Reimi
Community Support
Community Support

There are several ways to remove [], for example using 'replace' function like below.

 

replace(replace(outputs('Get_response_details')?['the output of dropdown list'], '[', ''),']', '')
You need to input dynamic content of the response in bolded place.
 
This function replaces '[' with blank, then replace ']' with blank.
 
Sorry that I couldn't paste screenshots in this comment due to my system trouble.
Hopefully my comment make sense to you.

View solution in original post

3 REPLIES 3
Reimi
Community Support
Community Support

That is because  the response type is array.

if you want to remove [], you need to process the response from Microsoft Forms in your Flow.

Hi Remi, thank you for your reply, im lost....

 

"if you want to remove [], you need to process the response from Microsoft Forms in your Flow.'

 

can you advise the steps so i can attempt to make the change

geoff

Reimi
Community Support
Community Support

There are several ways to remove [], for example using 'replace' function like below.

 

replace(replace(outputs('Get_response_details')?['the output of dropdown list'], '[', ''),']', '')
You need to input dynamic content of the response in bolded place.
 
This function replaces '[' with blank, then replace ']' with blank.
 
Sorry that I couldn't paste screenshots in this comment due to my system trouble.
Hopefully my comment make sense to you.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,846)