cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dorinda
Super User
Super User

HTMLtext to create PDF how to display the value of the radio button value

@RandyHayes 
I have an app that I need to email a PDF version of the form out to the user, I have built the HTML however I am stumped how to get the value into the HTMLText.

 

I have this in my html text 

 <tr>
<td>Crews Needed:</td>
<td><strong>" & Form1.LastSubmit.'Crews Needed'.Value & "</strong></td>
</tr>

 

However I get a red underline for the .Value and error message says it wants

 

Dorinda_0-1611694740580.png

 

I dont know how to fix this.

2 ACCEPTED SOLUTIONS

Accepted Solutions
RandyHayes
Super User
Super User

@Dorinda 
Change your formula to the following:

 <tr>
<td>Crews Needed:</td>
<td><strong>" & With({_crews:Concat(Form1.LastSubmit.'Crews Needed', Value & ", ")}, Left(_crews, Len(_crews, 2)) & "</strong></td>
</tr>

 The With part of this is only there to help cut of the trailing ", " on the concatenated list of values.

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

RandyHayes
Super User
Super User

@Dorinda 

Sorry, was typing too fast...

 <tr>
<td>Crews Needed:</td>
<td><strong>" & With({_crews:Concat(Form1.LastSubmit.'Crews Needed', Value & ", ")}, Left(_crews, Len(_crews) - 2)) & "</strong></td>
</tr>
_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

7 REPLIES 7
RandyHayes
Super User
Super User

@Dorinda 

What kind of column is 'Crews Needed'?  I am imagining that (based on the name) that it perhaps is a multi-value choice column, or a multi-record lookup.

Please clarify.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

It is a multi-choice column

RandyHayes
Super User
Super User

@Dorinda 
Change your formula to the following:

 <tr>
<td>Crews Needed:</td>
<td><strong>" & With({_crews:Concat(Form1.LastSubmit.'Crews Needed', Value & ", ")}, Left(_crews, Len(_crews, 2)) & "</strong></td>
</tr>

 The With part of this is only there to help cut of the trailing ", " on the concatenated list of values.

 

 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

I get this error

Dorinda_0-1611696656958.png

 

RandyHayes
Super User
Super User

@Dorinda 

Sorry, was typing too fast...

 <tr>
<td>Crews Needed:</td>
<td><strong>" & With({_crews:Concat(Form1.LastSubmit.'Crews Needed', Value & ", ")}, Left(_crews, Len(_crews) - 2)) & "</strong></td>
</tr>
_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

You once again come to my rescue!!! Thank you!!

RandyHayes
Super User
Super User

@Dorinda 

No problem.  And I have your other email on my list to respond shortly.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,797)