ng-forgeDynamic Forms
Installation Quick Start
Material Design PREVIEW PrimeNG PREVIEW Bootstrap PREVIEW Ionic PREVIEW
Field Types
Basics Reference Advanced Custom Validators
Conditional Logic Value Derivation Internationalization (i18n) Form Submission
Form Rows Form Groups Form Arrays Form Pages Text Components Hidden Fields
Overview Angular Schema Zod Validation
Type Safety Event Bus Expression Parser Security Custom Integrations
AI Integration (MCP) API Reference
dynamic-forms / Function

validatePageNesting

Validates that a page field doesn't contain nested page fields

Presentation

function validatePageNesting(
  pageField: PageField<PageAllowedChildren[]>,
): boolean;

Returns

boolean -

true if valid (no nested pages), false otherwise

Parameters

NameTypeDescription
pageField
PageField<PageAllowedChildren[]>

The page field to validate

  • Presentation
  • Returns
  • Parameters