Rank: Advanced Member
Groups: Registered
Joined: 12/31/2019(UTC) Posts: 35 Location: Missouri Thanks: 10 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
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/7/2021(UTC) Posts: 8 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.
|
1 user thanked ELP for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/31/2019(UTC) Posts: 35 Location: Missouri Thanks: 10 times
|
Originally Posted by: ELP 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.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/7/2021(UTC) Posts: 8 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.
|
|
|
|
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.