Form Properties
To change properties of a form of a business object:
- Begin adding or editing the business object – see adding element and editing element.
- Click on the “Forms” tab at the bottom of the screen. Select the form you want to edit. The properties of the form will be displayed in the Selection Properties window. The following properties can be defined:
Name
Specify the name of the form. Can be any text including space symbols. The name must be unique among other form names of the business object.
Description
Specify the description of the form. Can be any text including space symbols.
Width
Specify the width of the form in pixels. If you leave this value blank (default) the form will occupy all the available width of the screen
Height
Specify the height of the form in pixels. If you leave this value blank (default) the form will automatically calculate its height based on its contents. In this case no vertical scroll bar will be displayed. If you specify a particular height of the form the vertical scroll bar may be displayed if the content of the form does not fit the specified height.
Stretch to bottom of screen
When this checkbox is ticked height of the form will be calculated automatically to make sure that the bottom of the form aligns with the bottom of the screen.
Panel Header and Caption
Caption
Select the Caption property to define the caption of the form or query. The caption may be displayed in the classic Panel Header of the form or query. It can also be used to display a title of a popup or modeless window If the form or query is displayed inside a window. A caption can also be used as the name of a tab if the form or query is displayed in a tab.
Default Caption
Select this radio button if you want AwareIM to use the default caption – for forms with one form section it is the caption of the form section; for forms with multiple form sections, it is the name of the business object. Note that you can use tag expressions here which can refer to the attributes of the object displayed by the form or query.
Use This Caption
Select this radio button to display the specified text as caption. Note that you can use tag expressions here which can refer to the attributes of the object displayed by the form or query.
Put caption in the application toolbar at the top
If you want to save real estate by displaying caption of the form inside the application toolbar (one must be defined in the Top Bar area of the corresponding visual perspective). In this case you can turn the header of the form off completely but still display its caption. This option is especially useful if a form is displayed on mobile phones where screen real estate is limited.
Mobile Style
If this option is selected a special CSS style is assigned to the default header – the caption is displayed with large bold letters in the middle of the header. This style is useful when the form is displayed on mobile phones.
Panel Header
Select this property to define how the header of the form will look like. The following options are available:
- Classic Header
- Custom Header
- Show Wizard Steps
- No Header
AwareIM can either display a classic header, a custom header or no header at all. The classic header includes a special area at the top of the form that may optionally contain the caption of the form, the icon and “tools” (form operations specifically designated for this area) – see the form below.
The orange area at the top represents the classic form header that may contain an icon, a caption and “tools“ (operations displayed in the Tools area of the form or query)
To define a custom header, specify HTML of the header. It will be displayed at the top of the form. The form below shows custom header with the following simple HTML:
<span style='font-family:Arial;font-size:18px;color:orange;padding:15px'>REGULAR USER</span>
For forms with “wizard” navigation you can also select the “Show Wizard Steps” radio button. If this radio button is selected the panel header will only display the “stepper” widget and nothing else – see the Navigation Type property of the form.
No Header
Select this radio button if you do not want the Panel Header of the form to be displayed.
Icon / No Icon / Default Icon
Select these radio options to display or hide the icon inside the header area of the form.
Show Caption/Show Icon
Tick these checkboxes to show caption or icon in the classic header.
Panel can be collapsed/expanded
If this option is selected the “tools” displayed in the header include an icon to collapse or expand the form
Panel is initially expanded
This option can only be used if “Panel can be collapsed expanded” option is selected. If this option is selected the form is initially displayed in a collapsed state.
Use automatic
The following options specify the times at which AwareIM will use the form in the Operation Mode (see Defining Forms).
- Tick the “Object creation” checkbox if you want the form to be used when new instances of the business object are created.
- Tick the “Object editing” checkbox if you want the form to be used when existing instances of the business object are edited/viewed
- Tick the “User registration” checkbox if you want the form to be used when the end users register themselves with the system (if your system supports this feature).
- Click on the “Access levels” property if you want the form to be used only when the user creating or editing an instance of the business object has a particular access levels. By default a form is used by users of all access levels. You can exclude certain access levels by selecting them in the left list box and using the Right arrow button to move the selected access levels into the right list box.
ENTER NEW or EDIT actions in a particular process. You can uncheck the “automatic usage” check box for such forms, as AwareIM will not be using these forms automatically.Navigation Type
The navigation type of form sections in a form determines how form sections are navigated in the Operation Mode (this is relevant, of course, if a form has more than one form section). There are two types of the navigation style – tabs and wizard.
With “tabs” the order of form sections in the form is undefined – the user can navigate between form sections at random choosing any form section after the current one (this is like working with the tabbed dialog). The names of the existing form sections are displayed above the form and the name of the currently displayed form section is highlighted. The user can click on the name of the form section to navigate directly to this section – see also the picture shown in Form Sections.
With wizard-like navigation the order of form sections is strictly defined. The user can only navigate to the next or previous form section in the defined order. The currently displayed form section contains the Next and Previous buttons that brings the user to the next or previous form section. For wizard forms it is also possible to display a special widget that shows where in the sequence the user currently is – see below:
To display the widget select the Show Wizard Steps radio button in the Panel Header of the form - see panel header for object forms
Tabs
Tab reordering
Tick this checkbox if the user is allowed to change the order of the tabs (form sections) defined by the configurator. The user will then be able to save the new order of tabs.
Mobile tabs
Tick this checkbox if the tabs of the form are to be displayed using a “mobile” style – the tabs are than bigger than usual and the icon is displayed above the text
Tabbar position
Select whether the tabbar will be displayed at the top, bottom, left side or right side of the form
Centre Align Form
Tick this checkbox if you want the form to be displayed in the centre of the screen (otherwise the form will be left-aligned).
Autosave
Normally when the user closes or abandons a form without saving his changes the system automatically asks whether the user wants to save the changes. Tick this box to suppress this prompt – in this case the form will be automatically saved without asking the user. There will also be a Cancel button that allows user to close the form without saving the changes.
Display Mask
Tick this checkbox if you want to see the “Executing…” message every time the changes of the user are committed to the server – either when the changes are “auto-saved” (see the paragraph above) or when dynamic rule execution happens (see Advanced Rule Options).
Button Aligment
By default Save and Close buttons are displayed center-aligned. You can select different alignment here.
Panel Operations
This option allows you to define operations that you can do with the instance of a business object while the form is being edited or viewed in the Operation Mode. See Adding/Editing Panel Operations for details.
Form Auto Refresh Settings
Select this option from the menu if you want to specify how the form refreshes itself when some operation in the system has been done. By default AwareIM will automatically refresh the form when the form is saved or when a process is started from the form itself. Sometimes it may be necessary to refresh the form when other processes are executed or other forms are saved. You can specify such processes and objects in the Auto Refresh dialog.
Form panel resizing
Select this option from the menu to allow/disallow the user to resize the form at run time and/or specify size constraints. The Resizing Options dialog will be displayed. Tick the “Resize Width” checkbox to allow user to change width of the form; tick the “Resize Height” checkbox to allow user to change the height. If you tick the “Allow User to Save/Restore Current Size” checkbox user will be able to save the current settings of width and height, so that the form is displayed again with the saved width and height when the user logs in again (note, that the settings are maintained by AwareIM per user). The user will also be able to restore the form to the configured settings.
CSS Style and CSS class
Here you can also assign CSS style and/or class to the form. You may want to do this if you want to customise the appearance of the form. See the “How to use CSS” section in the How To Guide for more details.
Responsiveness
Select this option from the menu to make the form “responsive” to changes of the screen size.
This video tutorial describes how to make sure that your AwareIM applications are 'responsive' and look good in different screen sizes.
Tour
The “Tour” feature allows configurators to add explanation to the elements of the form, so that the user can understand the screen better. The explanation of the element is displayed to the user at the bottom of the screen with the marker pointing to the element of the screen being displayed. The user can jump between the elements of the screen and AwareIM automatically scrolls to the element being explained and displays the marker for the element. For more details about tours see the How to use the Screen Tour feature in the How To Guide.
Scripts
For users who are familiar with Javascript this dialog allows specifying additional parameters when forms are initialized and displayed. See Programmers Reference Guide for more details.
