# How to Choose Between Smart Form and Page

When designing user interfaces on the ONEWEB platform, one of the key decisions is choosing between a **Smart Form** and a **Page**.\
Both are used to design UI, but they serve **different purposes** and are optimized for **different types of user interactions**.

The right choice depends on **what the user needs to do**—whether it is entering and validating data, or viewing and navigating information.

***

#### Choose **Smart Form** When

Use **Smart Form** when the primary goal is **data input, validation, and interaction with business logic**.

Smart Forms are best suited for:

* **Data entry interfaces**, such as forms for creating or updating records
* Scenarios requiring **complex navigation**, such as General Tabs or multi‑level tab structures
* Capturing user input that must be **submitted to initiate a process flow**
* Applying **validations, rules, or business conditions** to user input
* Forms that integrate directly with **business processes or workflow systems**

Smart Forms are ideal when user actions drive system behavior and process execution.

***

#### Choose **Page** When

Use **Page** when the primary goal is **presenting information or enabling navigation**, rather than capturing structured data.

Pages are best suited for:

* Displaying **static or dynamic content** without writing HTML
* Creating **navigable pages** such as landing pages or dashboards
* Building **static or dynamic websites**
* Use cases like **community portals or email marketing pages**
* Pages with **actions, text, or images** that integrate with Microflow or external websites

Pages focus on content presentation, layout, and user navigation.

***

#### Smart Form vs Page: Design Perspective

From a UI / Page Designer perspective:

* **Smart Form** is optimized for:
  * User input
  * Validation
  * Process‑driven interactions
* **Page** is optimized for:
  * Content display
  * Navigation
  * Visual presentation

In many applications, both are used together—for example:

* A **Page** to present information or guide users
* A **Smart Form** to capture and process user input

***

#### Design Guidance

As part of **UI / Page Designer best practices**:

* Choose **Smart Form** when data integrity and business rules matter
* Choose **Page** when content clarity and navigation are the priority
* Avoid using Smart Forms for simple content display
* Avoid using Pages for complex data input and validation

Selecting the correct component early helps simplify design, improve usability, and reduce rework later.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onewebstack.com/building-apps/ui-page-designer/best-practices-for-ux-ui/how-to-choose-between-smart-form-and-page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
