cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Patron
Post Patron

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
Super User III
Super User III

@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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

Super User III
Super User III

@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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

7 REPLIES 7
Super User III
Super User III

@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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

It is a multi-choice column

Super User III
Super User III

@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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

I get this error

Dorinda_0-1611696656958.png

 

Super User III
Super User III

@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. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

View solution in original post

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

Super User III
Super User III

@Dorinda 

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

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up. Solved your problem? - Click on Accept as Solution. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (42,030)