Applipress documentation 1.0 Help

Creating Forms

Forms are essential components in any application, facilitating user interactions and data collection. In Applipress, forms can be created in two ways:

  • By creating a form from scratch

  • By generating a form from an entity

Creating forms from entities is an efficient method for constructing simple forms.

Generating Forms from Entities

To create a form based on an entity, follow these steps:

  1. Navigate to the Entity Overview: Open the overview of entities, select the desired entity, and click on the button in the upper right corner.

  2. Choose "Create forms": From the menu, select the "Create forms" option.

    entity_create_form.png
  3. Form Creation Dialog: A dialog for creating a form from the entity will appear.

  4. Select a Template: In the dialog, choose the suggested template for the form (Table | Accordian | Form + Lifecycle Group).

  5. Form Suffix: Leave the 'Form suffix' field empty unless you need to specify a suffix for the form's name.

  6. Create the Form: Click the 'Create' button to generate a new form based on the selected entity.

Viewing and Generating the Form

After creating the form, you can view and generate it as follows:

  1. Open the Forms Overview: Navigate to the forms overview and select the newly created form.

    open_forms.png
  2. Access the Customer Form: Open the form associated with the Customer entity.

    ap_customer_form.png
  3. Form Details: On the form, you can observe its structure and details about the selected form segment.

  4. Generate the Form: Click on the 'Generate form' button to initiate the form generation process.

  5. View Generation Results: After the form has been generated, you can view the generation results by pressing the 'Show generation result' button.

    generate_customer_form_show_results.png

This process illustrates how to leverage entities to quickly create and configure forms within your Applipress application, streamlining the development process and enhancing your application's user interface.

Last modified: 18 March 2024