Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Philip Michael  
#1 Posted : Monday, January 24, 2022 5:34:20 PM(UTC)
Philip Michael

Rank: Member

Groups: Registered
Joined: 12/31/2019(UTC)
Posts: 29
United States
Location: Missouri

Thanks: 9 times
Is there a way to load HTML from a Database Page Source and display it in a Label or other control? So if the data field contains <b>TEST</b> I want the Label or other control to display TEST
ELP  
#2 Posted : Tuesday, January 25, 2022 10:54:13 AM(UTC)
ELP

Rank: Newbie

Groups: Registered
Joined: 10/7/2021(UTC)
Posts: 3
Austria

Was thanked: 1 time(s) in 1 post(s)
Hi Philip Michael!

Please have a look at the ‘Rich Text’ control which might fit your needs. See the attached sample how to set it up and style the content. Please note that it is not a full-blown HTML control and won’t support every part of the spec.
File Attachment(s):
html.mtd (9kb) downloaded 6 time(s).
thanks 1 user thanked ELP for this useful post.
Philip Michael on 1/25/2022(UTC)
Philip Michael  
#3 Posted : Tuesday, January 25, 2022 6:12:35 PM(UTC)
Philip Michael

Rank: Member

Groups: Registered
Joined: 12/31/2019(UTC)
Posts: 29
United States
Location: Missouri

Thanks: 9 times
Originally Posted by: ELP Go to Quoted Post
Hi Philip Michael!

Please have a look at the ‘Rich Text’ control which might fit your needs. See the attached sample how to set it up and style the content. Please note that it is not a full-blown HTML control and won’t support every part of the spec.


This seems to be working great, but when there is a just a <br> without a closing </br>, it leaves the Rich Text box blank. I added <br> to the Rich Text Style Sheets in the Element Mappings, but since there usually isn't a closing </br> how do I work around this? Thanks for any help.
ELP  
#4 Posted : Tuesday, February 1, 2022 9:24:40 AM(UTC)
ELP

Rank: Newbie

Groups: Registered
Joined: 10/7/2021(UTC)
Posts: 3
Austria

Was thanked: 1 time(s) in 1 post(s)
Hi Philip Michael!
Sorry for the late answer. Please see attached solution how to work around this issue. You can either use a HTML page source or replace the unclosed <br> elements with <br/>. Take a look in the ‘OnPageLoad’ action.
File Attachment(s):
html.mtd (12kb) downloaded 6 time(s).
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.