<htmlinput>

Used to create a control that accepts HTML-formatted text (or Rich Text). The user will be presented with a web-based HTML editor. NOTE: This tag is "provider-aware," meaning it will use DotNetNuke's default  HTML Editor. However, since the HTML Editor Provider feature was implemented in DotNetNuke 2.1.2, this tag only works in DNN 2.1.2

 

ATTRIBUTES:

ref

Name of the field whose value you wish to insert (Required) [String value]  

Names must begin with a letter and may only include letters, numbers and the underscore character.

class

Name of the CSS Class used to style the text box (Optional) [String value]

width

Width of the control (e.g. "600px") (Optional) [.Net Unit]

Although technically optional, the attribute will default to a value of 0, which will prevent the control from showing. Width should be specified.

height

Width of the control (e.g. "300px") (Optional) [.Net Unit]

Although technically optional, the attribute will default to a value of 0, which will prevent the control from showing. Height should be specified.

required

If true, the user will be required to enter a value (Optional) [true or false]

errormessage

If the field is required but has not been filled out by the user, XMod will display the contents of this attribute. If this attribute isn't specified, XMod will default to "FieldName Is Required" (Optional) (new to version 3.0)

 

CHILD TAGS

label

The caption used to identify the control

info

This child tag can be used for most anything but is typically used to display more information (usually in a help-related context) about the data entry item.

default

The value specified in this tag will be placed into the control when the form is first loaded. This allows a form builder to pre-fill certain fields in a form to improve the user experience or give hints as to the type of data expected. (new to version 1.2)

validate

The <htmlinput> tag supports the required and regexp validation types. Note that because of the nature of the <htmlinput> control, validation occurs on the HTML source contained within the control. Thus, you will need to account for HTML tags when thinking about validation.
(new to version 4.5)

ATTRIBUTES <info>:

See <info> tag topic

EXAMPLE

<htmlinput ref="StoryContent" width="600px" height="300px">

  <label>Story Content: </label>

  <default>Add your story here</default>

</htmlinput>