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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Defect in Jotform, Pow...
Power Automate
Answered

Defect in Jotform, Power Automate & SharePoint

(0) ShareShare
ReportReport
Posted on by 195

I'm using Jotform to conduct surveys.  That survey data is coming over into a SharePoint list via Power Automate.

 

Even though I have selected "text" for the fields, I'm receiving HTML <br>'s after the Jotform answers.  This is preventing me from managing the data once in SharePoint.

 

Adding HTML.jpg

 

Here is the PA flow:

powerauto.jpg

 

Below shows the spaces in the text:

spaces.jpg

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @wiredupjax 

    Try the following - replace the values in your Create item action with following expression for each column:

    first(split([reference to the value from Jotform from Dynamic props], '\n'))

    So, for each column in the SharePoint list, you'll enter the expression above with a reference to the value to be inserted from Dynamic props.

     

     

     

  • wiredupjax Profile Picture
    195 on at

    @ScottShearer Thank you for the response.

     

    I created the expression as you described, however I am still getting the \n

     

    See the flow and flow output

     

    flow.jpgflowoutput.jpg

     

     

  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @wiredupjax,

     

    I tried to produce a JotForm, and create an item in SharePoint list, but '\n' doesn't appear, I guess the root cause is on the JotForm, when you submit the JotForm, did you type any "Enter"?

    Annotation 2020-05-19 093149.jpg

     

    Annotation 2020-05-19 093226.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.

  • wiredupjax Profile Picture
    195 on at

    @v-litu-msft 


    Try to create a question as Yes/No -- not as a single choice but the Yes/No and see if it comes across with the \n

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @wiredupjax,

     

    Yes, if it is a Yes/No type, it will have the same issue. If it is a simple choice type, it will not has additional '\n'.

     

    So, as a workaround, you could use the simple choice, set the options to Yes/No:Annotation 2020-05-19 140431.jpg

    Or you could use the uriComponent() function to convert the '\n' into URI code '%0A', then use replace() function to remove the '%0A', then use the decodeUriComponent() function convert it back:

    decodeUriComponent(replace(uriComponent(triggerBody()?['QuestionName']),'%0A',''))

    Annotation 2020-05-19 140834.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.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard