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 / Dropdown Box to HTML
Power Apps
Unanswered

Dropdown Box to HTML

(0) ShareShare
ReportReport
Posted on by

Hi Guys, 

 

Fairly new to power apps, I have managed to create a basic app, I am trying to build an app when the users can enter data into a form which can then be emailed out. 

 

I have managed to get this working by using HTLM text box apart from the dropdown boxes i have. When i add the dropdown box name to the HTML box i get an invalid expression. 

 

Extract of the code is below 

 

"<p> Engineers Name: " & Dropdown1.SelectedText

 

Any help wouuld be appreciated. 

 

Cheers

Categories:
I have the same question (0)
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @hodgson41 

    Could you try the following to see if that solves your problem?

    "<p> Engineers Name: " & Dropdown1.SelectedText.Value
  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @hodgson41 ,

    Based on the formula that you provided, I think there is something wrong with it. The result the Dropdown1.SelectedText formula returned is a record value, but the HtmlText property of the Html Text control is required to provide a Text value.

    You could not concatenate a record value with a Text string directly within PowerApps app.

     

    As an alternative solution, please consider modify your formula as below:

    "<p> Engineers Name: " & Dropdown1.Selected.Value & ".."

    or

    "<p> Engineers Name: " & Dropdown1.SelectedText.Value & ".."

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

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