Lets the user enter HTML using a WYSIWYG editor.
It is possbile to add custom buttons to an HTML control using the HTML editor toolbar buttons menu item in the admin menu group. Useful JavaScript functions for these buttons are listed below.
The formatted text is saved in the database as HTML.
The user can examine and edit the HTML source by using the menu item Tools->"Source code".
Retrieves the default value for the control.
This call is only made if there is a field validation set for the field info and the field has any content. Fields used in an editable grid do not use this call.
Performs field validation when the user leaves the field or one of its dependencies is changed, initial values set by default value and initial values in edit-mode are not validated.
When saving the validation runs server side if the field value has changed. A field value is considered changed if in new mode the value is anything other than NULL
. In edit mode it is considered changed if it has a value that was not returned by the GetEditFields procedure.
Use the Stylesheet setting to apply a specific stylesheet, both to the HTML-canvas and the font-style dropdown. Feel free to create and use a custom stylesheet when suitable.
Additionally, the function SoftadminApi.Css_StyleSheet can be used to fetch a stylesheet definition for later use, for example when sending email messages created using the HTML editor.