Display checkbox in HTML expression
Application Type
Traditional Web
Service Studio Version
11.14.16 (Build 60354)

Hi, this may be simple but I need advice.

In Reactive applications we have "HTMLViewer" to display HTML Content.
In Traditional to display HTML content we can do something like this post:

Now my issue is I have this HTML:
"<input data-checkbox class="checkbox Input-checkbox-form-control" type="checkbox" style="margin-bottom: 0px;">"
That is not being rendered in the expression but it works in the widget HTMLViewer.
I have to do this in Traditional Web.

Is there any way to show this checkbox with HTML?

Hi Luis,

Did you set the Escape Content property as "No"?


Does it work if you remove the SanitizeHtml?

It does! Thank you :)

I do have a follow-up question though, isn't the SanitizeHtml needed to guarantee the security?

Is your expression coming from the user?

If so, you do need to use SanitizeHTML, if you just want that expression you can just do this:

Yes, it does come from the user.
I will try to do that way, thanks :)

Which part comes from the user? The whole expression?

For the most part your help from earlier is enough :)
I think that if I tried to explain further I would cause more confusion.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.