Form designer: How to insert HTML text


To insert a paragraph with a Line Feed, hyperlink or any other HTML attribute, you have to insert it dynamically.

From the custom attributes

  1. Insert a Readonly Text from the Tools of the form editor.

  2. Set your HTML text from the custom attributes:

    i. Edit your field.
    ii. Click the Custom Attributes tab.
    iii. Scroll through drop down list to the ASP.NET Properties section, and select the text attribute.
    iv. Click +.
    v. Set your HTML in the Value text area

From the .NET code

Another solution is to set your HTML text from the .NET code. This method overrides the ASP.NET Text attribute.

  1. After adding your readonlytext, click .NET on the right-hand side of the toolbar.

  2. Uncomment the Page_Load method if needed.

  3. Set the Text property as shown below:

REQUEST_READONLYTEXT1.Text = "To find a lot of information about WorklowGen:<br><a href=''>Click here</a>";