Hide HTML Component

How can I hide a html component inside the form with display rule as well?

This can be done by adding a the html component to a separate row, then showing or hiding by a user role OR using a JavaScript.

I’m doing something similar and the solution is here: Javascript to Show/Hide component based on a field value

1 Like

Does this method work with an HTML field inside a form or only with an individual HTML component?

@joshjosh What value/data are you showing in this HTML field? Maybe you could transfer it to a Rich Text field in order to use that field in display rules?

I’m pretty sure it would, but you would have to have a field containing the “if”.

Thank you! :slight_smile: