HTML5 Editor is an OZ functionality that allows user to edit a text label as if it was an HTML5 based document editor. This feature cannot be tested in the OZ Designer as it requires some thirdparty JS libraries. Therefore, it can be implemented and tested only by rendering the OZ Viewer in an HTML page. First, let us understand how to activate this feature by designing the form and creating an HTML page that renders it.
ACTIVATING THE FEATURE
The steps to follow to activate the feature are two:
On the designer, create a label and set the following parameters:
"Drawing Type" parameter to "HTML"
"Editable" parameter to "True"
Set the "Horizontal Text Alignment" and "Vertical Text Alignment" parameters to "Left" and "Top" respectively
Create an HTML page rendering the form (for learning how to do so, please visit the "Day 3: Dynamic e-Form" section). Once the form is rendered, you will need to add the following statements to the HTML5 source code for the feature to work: