Configuring an HTML Type to Indicate a Required Field
To display the SiebelText type with an asterisk (*) to indicate a required field, you can add the following example code in addition to the definitions for this type described earlier in this topic:
<swe:htmltype name="SiebelText" mode="Edit" state="Required">
*
<div od-property="DisplayName"/>
:
<div od-property="Data" type="Text"/>
</swe:htmltype>
The Siebel Web Engine uses the following order of precedence when it looks up HTML Type definitions in the web template definition containing SWF content:
Mode
State
It is recommended that you always create a default format definition for all custom HTML types. To create a default format definition, you define it without specifying the mode attribute and state attribute.