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

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
Microsoft
Microsoft

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

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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (36,292)