Using pop-ups

You can display a form as a pop-up by embedding the comfill widget in the form.
Pop-up forms enable you to create a form once, and then use it in other forms. Construct a pop-up form in the same way as you would a standard form.
Forms displayed as pop-ups are read-only; users cannot interact with them. If you want your users to be able to interact with the form, display the form as a standalone of another form instead of as a pop-up.

  • Pop-ups only display one record. If the virtual join returns zero or multiple records, the pop-up form will display an error message.
  • Only a single pop-up can be active at a time.

The following widgets are supported for pop-ups. Use a regular subform instead of a pop-up subform for any widget not on this list. If you use a non-supported widget, the pop-up will display an error message.

  • Checkbox
  • Date
  • Group/Frame
  • Image
  • Label
  • Table
  • Text
  • TextArea
  • Wrap Label

Note: For the Web client, the allowed maximum width of a pop-up form is 500 pixels. When designing a pop-up form for the Web client, make sure that the pop-up form is not too wide; otherwise, it may not appear correctly on the Web client.

Add a pop-up to a form

Applies to User roles: System Administrator

To add a pop-up to a form:

  1. Click Tailoring > Forms Designer in the System Navigator, or type fd on the Service Manager command line and then press Enter.
  2. Type a form name and click Search.

    Service Manager opens a list of forms. Click the form you want to update to open it.

  3. Click Design to open design mode.
  4. Add a comfill widget, or select an existing comfill.

    The properties for the comfill appear in the properties view.

  5. Specify the name of the form you want to display when the user hovers over the comfill in the Pop-up Subform Format field.
  6. Specify source field name to associate with the comfill in the pop-up Subform Input field.

    Note: This field should exist on the link record.

  7. Click the Pop-up Subform Enabled box.
  8. Click Web Preview to see what the form will look like in the Web client.
  9. Click OK to see what the form will look like in the Windows client.
  10. Click OK to save your changes.
  11. Open the form using Database Manager to test your changes:
    1. Click Tailoring > Database Manager
    2. Click Search.

      Service Manager opens a list of forms.

    3. Click the form you just modified to open it.

When the user hovers over the comfill control that you placed on the form, if the virtual join returns a single record, Service Manager will display it in a pop-up subform.

Related topics

Form creation
Forms Designer
Using the drawing canvas

Access Forms Designer
Create a form using the Form Wizard
Add a subform to a form
Add a dynamic form to a form

Forms Designer controls and tools
Comfill control
Subform control