Forms · AMP

Building Complex Multi-step Forms and Workflows

Ankita Varani · Published May 15, 2026 · 8 min read · View full version

Quick answer

To automate intake, use Liferay Forms. Select Liferay Objects as your form data provider, design a multi-page layout with visual rules, configure validations, and attach a Kaleo approval workflow to review entries before database inclusion.

Mapping Forms to Objects

Traditionally, forms saved data to isolated tables, making integrations complex. DXP 7.4 permits mapping forms directly to Liferay Objects. Create your data entity model in Liferay Objects, navigate to Forms, add a form, and select your custom Object as the storage provider. Every form field automatically maps to Object database columns.

Adding Conditional Validation Rules

Ensure data cleanliness. Use Liferay's visual rules engine to show or hide steps based on previous answers. Configure validation rules like regex patterns (e.g., verifying phone numbers) or numerical limits (e.g., age boundaries) to prevent incomplete records from reaching backend systems.

Connecting Kaleo Approvals

Once a form is submitted, map it to a Kaleo workflow definition. Submissions will trigger tasks for designated managers, sending emails and dashboard notifications. The submitted database record remains in a "pending" status until approved, maintaining clean portal data audits.

Frequently asked questions

Can Liferay Forms trigger external APIs?

Yes. You can configure form rules to call external REST APIs or trigger webhooks when forms are submitted.

Is form data encrypted?

Liferay encrypts database records, but you can add custom security constraints to block sensitive fields from being logged.

Read the full article, with table of contents, comparison table, and author bio →