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 Apps / create a FORM with htm...
Power Apps
Unanswered

create a FORM with html how to submit it as a whole to SP list

(0) ShareShare
ReportReport
Posted on by 1,994

hi

 

anyone can help on this, i created a form with html at the last tab, need to submit it back to SP list as a whole record with attachment.

 

How to send it back the html not picking.  thanks

bbsin_0-1626076956519.png

 

Categories:
  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    If you want to return it as text, you can try this:

    ActionsNote3: Text(colAction.htmltext)

  • Tapesh Profile Picture
    825 on at

    Hi @bbsin , 

    You can use the following steps to achieve the result.  

    Step 1, 
    Add/CreateHTML text input. 
    Step 2.
    add HTML text in by taking a dynamic input e.g code shown below:

     

     

     

     

     

    "<b> <font color = red> 
    <div>
    
    <div style='text-align: center;'>Ticket Details</div>
    </div> </b>" & "<br>" & "<br>" & "<br>" & "
    
    <div> 
    <img src=""https://images.unsplash.com/photo-1611162617474-5b21e879e113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=667&q=80"" alt=""logo"" width=""100"" height=""100"" style='border-radius:50%' />
    </div> " & " 
    
    <b> <font color = black>User name :</b> " & User().FullName & "<br>" & "
    <b> <font color = black>Ticket ID :</b> " & "TC124P01SS" & "<br>" & "
    <b> <font color = black> Submitted on: </b> " & Text(Now(), "dd/mm/yyyy T hh:mm ") & "<br>" & "<br>" & "<br>" & "<br>" & "
    <b> <font color = black>Status :</b> " & "Pending" & "<br>" &"
    <b> <font color = black>Comments :</b> " & "Hi test" & "<br>"

     

     

     

     

     

     

    You can chnage the text inside " & User().FullName & " to user-input if you want to get from powerapps else you can also remove it and add custom text. Replace(user().fullname to your needs

     

    The Final Result :

    Tapesh_0-1625820807517.png

     

     

     

    "Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful. "

     

     

     



  • bbsin Profile Picture
    1,994 on at

    @Tapesh 

     

    Thanks but this is not what I want.

     

    I have three tabs, the 1st and 2nd is using FORM and last tab is richtext editor.  

     

    I already have a rich text editor to input and after input it goes to collect the gallery html box as show below .   I need to submit the form with this collection into the SP list

    1) How to 

    2) I notice that the colCollect back end is the funny characters.

    bbsin_0-1626052708569.png

     

    bbsin_1-1626052731659.png

    Or Do i need to create a workflow to save into SP list if yes, how to ?? Thanks.   Need this urgently if you can help I am stuck here.  

    Thank you

     

  • bbsin Profile Picture
    1,994 on at

    Hi @Nogueira1306 

     

    thanks, but there's delegation error, can kindly help

    bbsin_2-1626053321461.png

     

    Do I need to change the SP list formula??

    I try Plain test and enhance rich it show the same error.  

    bbsin_3-1626053426541.png

     

     

  • bbsin Profile Picture
    1,994 on at

    @Tapesh 

     

    Thanks but this is not what I want.

     

    I have three tabs, the 1st and 2nd is using FORM and last tab is richtext box.  

     

    I already have a rich text editor to input and after input it goes to collect the gallery as show below .   I need to submit the form with this collection into the SP list

    1) How to 

    2) I notice that the colCollect back end is the funny characters.

    bbsin_0-1626052708569.png

     

    bbsin_1-1626052731659.png

    Or Do i need to create a workflow to save into SP list if yes, how to ?? Thanks.   

    Thank you

     

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Yes! Try the last one, "Enhanced rich text"

    I say this bc I have a flow that when I mark an email it creates it in a sharepoint item and I have that collumn as an ERT and the body from the email is html

  • bbsin Profile Picture
    1,994 on at

    @Nogueira1306 

     

    Yes I did try..but there's is error, can you kindly advise thanks

     

    bbsin_0-1626141104813.png

     

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    Hey. That is not an error... Is an "advie/atention"

    If you leave it like that, I am almost sure it will work.

    But, was I said in one of my comments, if you have the field as "Enhanced rich text" I don't think you need to put it inside a "Text"

    Try both ways

  • Tapesh Profile Picture
    825 on at

    Hi @bbsin 

    That solution should work fine for you but if you still looking for a solution please let me know thanks

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard