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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / HTML Text control in P...
Power Apps
Unanswered

HTML Text control in PowerApps

(0) ShareShare
ReportReport
Posted on by

We have a requirement where in , I am created in HTML Controls like HTML Input , drop down. How can I read these controls values in Powerapps at Run time?

Categories:
I have the same question (0)
  • Tom_Slosse Profile Picture
    1,430 on at

    Hey @v-kartbhMs,

     

     

    Can you give some more information of what you want to read in the controls?

    Where do you get your information from, do you save your information somewhere?

    What values do you use and so on.

    Maybe some screenshots would help as well to help understand your problem.

     

    Kind regards

     

    Tom

  • v-kartbhMs Profile Picture
    on at

    hi Tom,

     

    Thank you for reply.

     

    Requirement goes like this: I am creating an HTML table (inside HTMLText control) and in that I am adding html <Input>  and <Select> control for Text input and Drop down. Now it gets rendered to proper Input box and Drop down , and user can enter values inside those controls. How do I read the values for those control.

     

    I hope it is clear what I am saying. I am pasintg the sample HTML inside the HTML Text in here.

     

    "<table border=1 width=100%><tr><td><input type='text'id=input1 style='width:100%'/></td></tr>,"<tr><td><select style='width:100%;height:50px'><option value=Option1>Option1</option><option value=Option2>Option2</option></select></td></tr></table>"

     

    Kartik

  • Tom_Slosse Profile Picture
    1,430 on at

    Hey @v-kartbhMs

     

     

    Then why use a HTML control, you can use Text input and a Dropdown straight in PowerApps without adding in extra HTML

    You can't get the values out of a HTML control you can only get the text out of it so thats a limitation.

    If you use the build in text input and dropdown you can do alot more with it.

     

    Kind regards

     

     

    Tom

  • v-kartbhMs Profile Picture
    on at

    Hi Tom,

     

    Requirement is to load the control dynamically, that is why I am writing it inside HTML Text.  so if reading the values not possible I will convey the same.

     

    Kartik

  • Verified answer
    Tom_Slosse Profile Picture
    1,430 on at

    Hey @v-kartbhMs,

     

     

    Ah so you it isn't always a drop down or text input that you need in your PowerApp.

    This makes alot more sense now. But I don't think you can do anything with the data within the HTML input. 

    Unless you use for every possible input a different HTML input in PowerApps then you can get the text I guess but I'm not sure.

    The last time I tried I only retrieved the HTML within the HTML input.

     

    So I tried to get the value I entered in a HTML input into a label, but I only got the <input type=text> in my label.

     

    I will look into it into more detail if I can.

     

    Kind regards

     

    Tom

  • POwerAppsDev11 Profile Picture
    22 on at

    Hi,

     

    Any ways we can achieve this please let me know, i also have the same requirement.

     

    Thanks in advance.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard