Help ELMA BPM Platform
×
Menu

Adding a Form to a Button

To add a form that opens when you click on a button, click Select Link in the button settings window on the Common tab (fig. 1).
Fig. 1. Button settings window. Common tab
A dialog box for selecting an action from the ELMA register will open. Select the Forms action (fig. 2).
Fig. 2. Link selection dialog box
Step 1. Form type selection
At the first step of the wizard, select the form type (fig. 3) and click Next:
Fig. 3. Adding a form. Step 1. Selecting the form type
The following steps depend on the selected form type.
Step 2. Selecting a form
This step features two tabs (regardless of the selected form type): Form and Advanced.
The Advanced tab (fig. 4) is the same for all the form types. This tab contains the following units: Form display settings and Pop-up display settings.
Fig. 4. Adding a form. Step 2. Advanced tab
In the Form display settings unit, you can select the form elements display mode:
In the Pop-up display settings you can specify the pop-up header in the Window Header field and the pop-up width in pixels, by checking the Fixed Width box. By default, this box is checked and the maximum width is set to 850 pixels. For the pop-up to be displayed correctly, take into account the fact that the pop-up width cannot be less than its contents.
The Forms tab at this step and the following steps are different, depending on the selected form type.
Local form
If you selected Local form, at the second step you can choose to Create new form or Select existing form. The Form tab at the second step (fig. 5) is similar to the Form (context) tab of a user task settings when Form Builder form type is selected. To learn more, see the respective Help page.
Fig. 5. Adding a form. Step 2. Local form. Forms tab
To finish adding a form, click Save.
Fig. 6 shows what a local form added to a button looks like in Web Application.
Fig. 6. Local form display in ELMA Web Application
Object form
To use the form of another object (e.g. Contractor editing form), which was added as a property to the currently edited object, select Object form (fig. 3).
At the second step, on the Form tab (fig. 7), select from drop-down lists: 
The form thumbnail will be displayed only if All forms is selected.
Fig. 7. Adding a form. Step 2. Object form. Form tab
Fig. 8 shows what a Contractor editing form will look like in Web Application.
Fig. 8. Contractor form in ELMA Web Application
You can find information on where a local form or an object form is used on the object page – Forms (views) tab – Forms list unit. To learn more, see the respective Help page.
Page
To add a page form, select Page at the first step (fig. 3).
At Step 2 Selecting a form choose a page created in the Designer (fig. 9). The page thumbnail will be displayed.
Fig. 9. Adding a form. Step 2. Page. Form tab
Step 3. Binding properties
This step is available only when adding a page to the form. At this step you need to match context variables of the page with the current context variable. By doing so you making possible to open a page with earlier selected values. To bind current context variables with page context variables, use the context menu (fig. 10).
Fig. 10. Adding a form. Step 3 – Binding properties. Page
To finish adding a form, click Save.
Fig. 11 shows what a page added to a button will look like in Web Application.
Fig. 11. Page display in ELMA Web Application

Copyright © 2006–2019 ELMA