Adding a hyperlink to TextInputComponent Kentico 13

Brian Brown asked on August 24, 2021 15:04

Is it possible to hyperlink the ExplanationText in the property?

[EditingComponentProperty(nameof(TextInputProperties.Required), true]

[EditingComponent(TextInputComponent.IDENTIFIER, Label = "CTA Icon 1", Order = 2, ExplanationText = "Visit Font Awesome for more icons", Tooltip = "Example: <i class='fas fa-file-invoice-dollar'>")]

public string CTAIcon1 { get; set; }

Recent Answers


Dmitry Bastron answered on August 25, 2021 10:37

Hi Brian,

By default, this text is escaped when withdrawn to the page meaning that tags won't work. If you want it to work differently and render as a raw string without escaping I'm afraid you'd need a custom form control for that. Here is a tutorial how to create one.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.